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

Reject URLs with text before bracket in host

#1654Merged
Comparing
rodrigobnogueira:fix-ssrf-bracket-bypass
(
71b320c
) with
master
(
2f180d1
)
CodSpeed Performance Gauge
0%
Untouched
99
Ignored
2

Benchmarks

101 total
test_url_make_empty_username
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
138.1 µs137.1 µs
test_quoter_quote_utf8
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
+1%
139.4 µs138.5 µs
test_url_with_scheme
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
165.1 µs164.2 µs
test_url_make_access_username_password
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
+1%
193.5 µs192.5 µs
test_url_joinpath_encoded_long
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
843.9 µs841.1 µs
test_url_joinpath_encoded
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
491.9 µs490.4 µs
test_empty_query_string_uncached
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
76.1 µs75.9 µs
test_url_with_name
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
358.4 µs357.3 µs
test_url_make_access_raw_path
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
166.7 µs166.2 µs
test_unquoter_long_ascii
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
0%
4.3 ms4.3 ms
test_url_build_no_netloc_relative
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
330.1 µs329.3 µs
test_unquoter_long_pct
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
0%
6.9 ms6.9 ms
test_human_repr
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
10.5 ms10.5 ms
test_quoter_pct
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
0%
85.9 µs85.7 µs
test_is_default_port
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
168.9 µs168.7 µs
test_url_make_no_netloc_relative
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
135.8 µs135.6 µs
test_url_make_with_ipv6_address_path_and_port
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
135.8 µs135.6 µs
test_url_make_no_netloc
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
136.3 µs136.1 µs
test_empty_raw_path_qs_uncached
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
90.3 µs90.1 µs
test_url_with_fragment
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
165.9 µs165.6 µs
test_empty_query_string
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
48.3 µs48.3 µs
test_url_with_path_relative
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
120.9 µs120.8 µs
test_url_make_with_ipv4_address_and_path
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
135.9 µs135.7 µs
test_quote_query_string
tests/test_quoting_benchmarks.py
CodSpeed Performance Gauge
0%
75 µs74.9 µs
test_parse_query_uncached[long]
tests/test_url_benchmarks.py
CodSpeed Performance Gauge
0%
14.7 ms14.6 ms

Commits

Click on a commit to change the comparison range
Base
master
2f180d1
-0.07%
Reject URLs with text before bracket in host
71b320c
19 days ago
by rodrigobnogueira
© 2026 CodSpeed Technology
Home Terms Privacy Docs