- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 08 Sep 2023 03:51:29 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 8 September 2023 10:51:35 UTC
@achristensen07 @valenting @hayatoito thoughts on how to best tackle this? Given the discussion so far I see these options: 1. Always replace a trailing space in an opaque path with `%20`. 2. Replace a trailing space with `%20` when it becomes problematic, such as when serializing or using one of the setters. (This would also change setter behavior away from removing trailing spaces.) 3. Only replace a trailing space with `%20` when serializing, but keep removing spaces when using the setters. And then variants of 1/2/3 where we instead replace all trailing spaces with `%20`, let's call those 1b/2b/3b. I like the simplicity of 1 personally. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/784#issuecomment-1711471902 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/784/1711471902@github.com>
Received on Friday, 8 September 2023 10:51:35 UTC