diff --git a/ada_url/ada.cpp b/ada_url/ada.cpp index 449046f..d34454d 100644 --- a/ada_url/ada.cpp +++ b/ada_url/ada.cpp @@ -1,4 +1,4 @@ -/* auto-generated on 2023-11-19 13:35:02 -0500. Do not edit! */ +/* auto-generated on 2024-01-22 09:15:53 -0500. Do not edit! */ /* begin file src/ada.cpp */ #include "ada.h" /* begin file src/checkers.cpp */ @@ -11277,7 +11277,7 @@ bool url::parse_ipv4(std::string_view input) { // We have the last value. // At this stage, ipv4 contains digit_count*8 bits. // So we have 32-digit_count*8 bits left. - if (segment_result > (uint64_t(1) << (32 - digit_count * 8))) { + if (segment_result >= (uint64_t(1) << (32 - digit_count * 8))) { return is_valid = false; } ipv4 <<= (32 - digit_count * 8); @@ -14058,7 +14058,7 @@ bool url_aggregator::parse_ipv4(std::string_view input) { // We have the last value. // At this stage, ipv4 contains digit_count*8 bits. // So we have 32-digit_count*8 bits left. - if (segment_result > (uint64_t(1) << (32 - digit_count * 8))) { + if (segment_result >= (uint64_t(1) << (32 - digit_count * 8))) { return is_valid = false; } ipv4 <<= (32 - digit_count * 8); diff --git a/ada_url/ada.h b/ada_url/ada.h index a4aa39d..7804d87 100644 --- a/ada_url/ada.h +++ b/ada_url/ada.h @@ -1,4 +1,4 @@ -/* auto-generated on 2023-11-19 13:35:02 -0500. Do not edit! */ +/* auto-generated on 2024-01-22 09:15:53 -0500. Do not edit! */ /* begin file include/ada.h */ /** * @file ada.h @@ -7078,14 +7078,14 @@ url_search_params_entries_iter::next() { #ifndef ADA_ADA_VERSION_H #define ADA_ADA_VERSION_H -#define ADA_VERSION "2.7.4" +#define ADA_VERSION "2.7.5" namespace ada { enum { ADA_VERSION_MAJOR = 2, ADA_VERSION_MINOR = 7, - ADA_VERSION_REVISION = 4, + ADA_VERSION_REVISION = 5, }; } // namespace ada diff --git a/setup.cfg b/setup.cfg index cb0eda5..7f61cfe 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = ada-url -version = 1.9.0 +version = 1.10.0 description = 'URL parser and manipulator based on the WHAT WG URL standard' long_description = file: README.rst long_description_content_type = text/x-rst