gruns / furl

🌐 URL parsing and manipulation made easy.
Other
2.63k stars 152 forks source link

Make URL parser reject non-ASCII port strings #170

Open kenballus opened 1 year ago

kenballus commented 1 year ago

Currently, the URL parser accepts non-ASCII digits such as '౧' in port numbers. This is in violation of both the WHATWG URL standard and the RFCs. This patch enforces that port numbers be composed only of ASCII digits..