Avatar for the aio-libs user
aio-libs
yarl
BlogDocsChangelog

Fix host validation: IPv6 zone ID characters and NFKC percent bypass

#1655
Comparing
rodrigobnogueira:fix-host-validation
(
06047a9
) with
master
(
fbf8cfd
)
CodSpeed Performance Gauge
0%
Untouched
97
Ignored
4

Benchmarks

101 total
test_path_safe
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+4%
51.3 µs49.3 µs
test_quote_query_string
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
+2%
65.4 µs64.4 µs
test_raw_path_qs
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
50.7 µs50.1 µs
test_update_query_string
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
404.1 µs400.6 µs
test_url_with_host
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
364.7 µs361.6 µs
test_unquoter_short
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
+1%
115.4 µs114.5 µs
test_quoter_quote_utf8
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
+1%
129.8 µs128.8 µs
test_url_build_access_fragment
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
472.1 µs469.1 µs
test_url_build_no_netloc
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
325.6 µs324.2 µs
test_empty_query_string
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
45 µs44.9 µs
test_with_query_mapping
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
518.2 µs516.8 µs
test_url_extend_query_existing_query_string
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
130.6 µs130.2 µs
test_update_query_none
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
77.6 µs77.4 µs
test_url_joinpath_with_truediv
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
590.5 µs589.2 µs
test_url_extend_query_simple_query_dict
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
519.9 µs518.8 µs
test_path_safe_uncached
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
148.8 µs148.5 µs
test_url_joinpath_encoded
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
488.5 µs487.6 µs
test_url_build_access_username_password
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
674.8 µs673.7 µs
test_update_query_empty
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
81 µs80.9 µs
test_url_joinpath_encoded_long
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
842.5 µs841.3 µs
test_url_make_with_ipv6_address_and_path
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
131.9 µs131.7 µs
test_with_query_none
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
93.9 µs93.8 µs
test_empty_path_safe
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
49.2 µs49.1 µs
test_url_make_with_host_and_path
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
131.8 µs131.7 µs
test_url_make_with_host_path_and_port
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
131.8 µs131.7 µs

Commits

Click on a commit to change the comparison range
Base
master
fbf8cfd
0%
[pre-commit.ci] auto fixes from pre-commit.com hooks
979a271
1 month ago
by pre-commit-ci[bot]
+0.02%
Address reviewer comments
ad025da
1 month ago
by rodrigobnogueira
+0.01%
Relax zone ID validation: reject CTL characters per RFC 4007/9844
eb19850
1 month ago
by rodrigobnogueira
-0.09%
Merge branch 'master' into fix-host-validation
f786fd3
8 days ago
by bdraco
+0.02%
Merge branch 'master' into fix-host-validation
24c6ebf
6 days ago
by bdraco
+0.13%
Merge branch 'master' into fix-host-validation
5b69d86
6 days ago
by rodrigobnogueira
-0.19%
Avoid reflecting invalid IPv6 zone IDs
4e1b84a
6 days ago
by rodrigobnogueira
+0.05%
Merge branch 'master' into fix-host-validation
bd210eb
1 day ago
by rodrigobnogueira
+0.12%
Address review comments: wording, round-trip, empty-zone
06047a9
1 day ago
by rodrigobnogueira
© 2026 CodSpeed Technology
Home Terms Privacy Docs