- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 20 Oct 2020 02:44:20 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 20 October 2020 09:44:32 UTC
I think we should probably do both. I think we want to use a buffer so the URL parser doesn't itself have to keep an encoder alive, but then we do need to process things code-point-for-code-point to do error handling correctly. (I could see an argument for letting the URL parser hold onto an encoder though and passing that into percent-encoding and friends rather than an encoding.) I filed https://github.com/whatwg/encoding/issues/235 for Encoding standard cleanup as whatever we do here we can no longer use the encode hook it provides. -- 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/557#issuecomment-712729586
Received on Tuesday, 20 October 2020 09:44:32 UTC