- From: Alwin Blok <notifications@github.com>
- Date: Fri, 25 Sep 2020 02:38:50 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/url/pull/544@github.com>
Changes to file URL path normalization as proposed in #405.
Summary:
Applicable only to file URLs:
- Leading empty path segements are no longer removed.
- If absent, the host is copied from the base URL,
- Otherwise the host is preserved with one exception:
- If the host is `localhost` then it is set to the empty string.
Intends to close #405 and #302.
- Tests: https://github.com/web-platform-tests/wpt/pull/25716.
- Reference implementation: https://github.com/jsdom/whatwg-url/pull/170.
<!--
This comment and the below content is programatically generated.
You may add a comma-separated list of anchors you'd like a
direct link to below (e.g. #idl-serializers, #idl-sequence):
Don't remove this comment or modify anything below this line.
If you don't want a preview generated for this pull request,
just replace the whole of this comment's content by "no preview"
and remove what's below.
-->
***
<a href="https://whatpr.org/url/544.html" title="Last updated on Sep 25, 2020, 9:38 AM UTC (7a8576d)">Preview</a> | <a href="https://whatpr.org/url/544/83adf0c...7a8576d.html" title="Last updated on Sep 25, 2020, 9:38 AM UTC (7a8576d)">Diff</a>
You can view, comment on, or merge this pull request online at:
https://github.com/whatwg/url/pull/544
-- Commit Summary --
* Changes to file URL path normalization
-- File Changes --
M url.bs (36)
-- Patch Links --
https://github.com/whatwg/url/pull/544.patch
https://github.com/whatwg/url/pull/544.diff
--
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/pull/544
Received on Friday, 25 September 2020 09:39:04 UTC