Re: [whatwg/url] Basic URL parse requires stripping tabs before host state is entered, allowing bad hosts (Issue #829)

> I think it would also be unwise for Python to deviate from this as it would mean it ends up with different results from web browsers.

Note that other software is _already_ more strict than web browsers, such as [curl](https://curl.se/) and [wget](https://www.gnu.org/software/wget/). And even browsers are not internally consistent, e.g. Firefox does not follow a [`Location: https://exa mple.com/` redirect](https://run.mocky.io/v3/6c3851ba-f5ae-4f94-ba72-942ec878fe8e) to https://example.com.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/829#issuecomment-2293822598
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/829/2293822598@github.com>

Received on Friday, 16 August 2024 16:40:38 UTC