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

Performance will actually improve if an optional parameter is provided by parsers that would allow callers to request to fail early, so bogus URLs wouldn't have to be parsed fully because callers know that in their context tabs and newlines are not valid characters.

Thanks for your insights and guidance. It is much appreciated. Again, apologies for going down the rabbit hole with browsers.

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

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

Received on Friday, 16 August 2024 15:21:27 UTC