- From: James M Snell <notifications@github.com>
- Date: Wed, 17 Oct 2018 14:08:07 +0000 (UTC)
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 17 October 2018 14:08:32 UTC
+1 on going with the temporary workaround for now, but I think it makes sense to follow the browser's behavior on this, at least in the setters. It is interesting to note that Chrome (I haven't checked the others) behaves per-spec with regards to the initial constructor... ``` const u = new URL('https://example.org/a\nb'); console.log(u.href); // https://example.org/ab u.pathname = 'a\nb'; console.log(u.href); // https://example.org/a%0Ab ``` Which is just a tad frustrating in it's inconsistency ;-) -- 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/419#issuecomment-430643048
Received on Wednesday, 17 October 2018 14:08:32 UTC