- From: Rimas <notifications@github.com>
- Date: Mon, 20 Feb 2017 23:12:51 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 21 February 2017 07:13:25 UTC
Yet another sample: `file://localhost///a//../..//` Currently it is serialized to: `file://////` It shows what repeated leading slashes must be removed at the end of path parse (path state), when all possible `/../` are resolved. At this point `localhost` is already converted to empty host, so when switching from path state or at EOF: - If url’s scheme is "file" and url’s host is empty, then remove all leading empty strings from path excluding last path's string. This also works for pathname setter. -- 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/232#issuecomment-281263060
Received on Tuesday, 21 February 2017 07:13:25 UTC