Skip to content

Commit 6ad18b6

Browse files
authored
Ada 2.7.5 (#55)
1 parent b156640 commit 6ad18b6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

ada_url/ada.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2023-11-19 13:35:02 -0500. Do not edit! */
1+
/* auto-generated on 2024-01-22 09:15:53 -0500. Do not edit! */
22
/* begin file src/ada.cpp */
33
#include "ada.h"
44
/* begin file src/checkers.cpp */
@@ -11277,7 +11277,7 @@ bool url::parse_ipv4(std::string_view input) {
1127711277
// We have the last value.
1127811278
// At this stage, ipv4 contains digit_count*8 bits.
1127911279
// So we have 32-digit_count*8 bits left.
11280-
if (segment_result > (uint64_t(1) << (32 - digit_count * 8))) {
11280+
if (segment_result >= (uint64_t(1) << (32 - digit_count * 8))) {
1128111281
return is_valid = false;
1128211282
}
1128311283
ipv4 <<= (32 - digit_count * 8);
@@ -14058,7 +14058,7 @@ bool url_aggregator::parse_ipv4(std::string_view input) {
1405814058
// We have the last value.
1405914059
// At this stage, ipv4 contains digit_count*8 bits.
1406014060
// So we have 32-digit_count*8 bits left.
14061-
if (segment_result > (uint64_t(1) << (32 - digit_count * 8))) {
14061+
if (segment_result >= (uint64_t(1) << (32 - digit_count * 8))) {
1406214062
return is_valid = false;
1406314063
}
1406414064
ipv4 <<= (32 - digit_count * 8);

ada_url/ada.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2023-11-19 13:35:02 -0500. Do not edit! */
1+
/* auto-generated on 2024-01-22 09:15:53 -0500. Do not edit! */
22
/* begin file include/ada.h */
33
/**
44
* @file ada.h
@@ -7078,14 +7078,14 @@ url_search_params_entries_iter::next() {
70787078
#ifndef ADA_ADA_VERSION_H
70797079
#define ADA_ADA_VERSION_H
70807080

7081-
#define ADA_VERSION "2.7.4"
7081+
#define ADA_VERSION "2.7.5"
70827082

70837083
namespace ada {
70847084

70857085
enum {
70867086
ADA_VERSION_MAJOR = 2,
70877087
ADA_VERSION_MINOR = 7,
7088-
ADA_VERSION_REVISION = 4,
7088+
ADA_VERSION_REVISION = 5,
70897089
};
70907090

70917091
} // namespace ada

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = ada-url
3-
version = 1.9.0
3+
version = 1.10.0
44
description = 'URL parser and manipulator based on the WHAT WG URL standard'
55
long_description = file: README.rst
66
long_description_content_type = text/x-rst

0 commit comments

Comments
 (0)