Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hft
· 6mo ago · 0 comments
https://docs.python.org/3/library/urllib.parse.html
Comments
[–]
Joker_vD
6mo ago
Yep, none of them are suitable for this use case; you need to validate the Host header first and reconstruct the URI first before parsing it.