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

I'm not sure what you mean by differently? Which browsers does not strip a tab or newline from URL parser input?

> All I'm asking is for the spec to provide guidance in when whitespace should be stripped

It already does this.

> which should be accompanied by a note with a use case (can you think of one? I cannot)

I'm not sure why. The fact that all implementations already do this means it cannot be removed.

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.

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

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

Received on Friday, 16 August 2024 13:11:26 UTC