Re: [whatwg/url] Removing trailing C0 control or space at basic URL parser makes difference with override (#542)

The data model already guarantees it, no? It ends up ending with %00, not U+0000. Which is also why it seems reasonable to allow the parser to do that transformation for you if you want it.

I doubt we can change the API generally and given that the API is for individual components it's already a very different proposition. Why should `port` trim them, for instance?

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

Received on Wednesday, 9 September 2020 07:51:23 UTC