Re: [whatwg/url] Record whether the URL parser removed newlines. (#284)

Note: I don't oppose to preventing the attack.  If I were to implement the attack prevention, I would iterate through the string that the HTML/SVG parser is about to feed into the URL parser and search for this one attack in that one place.  I think the spec could be more similar to that, and if we want to instead put concepts here then they should not change the behavior of all URL parsing or require more memory for all URLs.

-- 
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/pull/284#issuecomment-303796511

Received on Wednesday, 24 May 2017 17:35:45 UTC