- From: Charles Samborski <notifications@github.com>
- Date: Thu, 22 Nov 2018 04:47:51 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 22 November 2018 12:48:12 UTC
> I also believe the reason why we have the tab-and-newline-removing logic in the constructor applies to setters as well. What is the reason behind the removal of those characters? I would like URLs to have those two properties: - Use the same rules both in the constructor and in the setters. - Support an equivalence between system paths and `file://` URLs: all unique valid paths should have a corresponding unique valid URL. This is important to me as it reduces edge cases: currently the spec silently drops some characters. It has caused me some bugs because different file paths led to the same file URL. Having those two properties would imply that the constructor should be changed to no longer remove these characters. (Instead of removing the characters even in the setters) -- 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-441020542
Received on Thursday, 22 November 2018 12:48:12 UTC