Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy userinfo from base to path relative URL #22

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion url.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,9 @@ optionally with an <a>encoding</a>
<dl class=switch>
<dt><a>EOF code point</a>
<dd>
<p>Set <var>url</var>'s <a lt='URL host'>host</a>
<p>Set <var>url</var>'s <a lt='URL Userinfo'>userinfo</a> to
<var>base</var>'s <a lt='URL Userinfo'>userinfo</a>,
<var>url</var>'s <a lt='URL host'>host</a>
to <var>base</var>'s <a lt='URL host'>host</a>,
<var>url</var>'s <a lt='URL port'>port</a> to
<var>base</var>'s <a lt='URL port'>port</a>,
Expand All @@ -1110,6 +1112,8 @@ optionally with an <a>encoding</a>

<dt>"<code>?</code>"
<dd><p>Set
<var>url</var>'s <a lt='URL Userinfo'>userinfo</a> to
<var>base</var>'s <a lt='URL Userinfo'>userinfo</a>,
<var>url</var>'s <a lt='URL host'>host</a> to
<var>base</var>'s <a lt='URL host'>host</a>,
<var>url</var>'s <a lt='URL port'>port</a> to
Expand All @@ -1121,6 +1125,8 @@ optionally with an <a>encoding</a>

<dt>"<code>#</code>"
<dd><p>Set
<var>url</var>'s <a lt='URL Userinfo'>userinfo</a> to
<var>base</var>'s <a lt='URL Userinfo'>userinfo</a>,
<var>url</var>'s <a lt='URL host'>host</a> to
<var>base</var>'s <a lt='URL host'>host</a>,
<var>url</var>'s <a lt='URL port'>port</a> to
Expand All @@ -1143,6 +1149,8 @@ optionally with an <a>encoding</a>
consists of one code point, or <a>remaining</a>'s second code point is
not one of "<code>/</code>", "<code>\</code>", "<code>?</code>",
and "<code>#</code>", then set
<var>url</var>'s <a lt='URL Userinfo'>userinfo</a> to
<var>base</var>'s <a lt='URL Userinfo'>userinfo</a>,
<var>url</var>'s <a lt='URL host'>host</a> to
<var>base</var>'s <a lt='URL host'>host</a>,
<var>url</var>'s <a lt='URL port'>port</a> to
Expand Down Expand Up @@ -1186,6 +1194,8 @@ optionally with an <a>encoding</a>
<li>
<p>If <var>url</var>'s <a lt='URL scheme'>scheme</a> is not
"<code>file</code>", set
<var>url</var>'s <a lt='URL Userinfo'>userinfo</a> to
<var>base</var>'s <a lt='URL Userinfo'>userinfo</a>,
<var>url</var>'s <a lt='URL host'>host</a> to
<var>base</var>'s <a lt='URL host'>host</a> and
<var>url</var>'s <a lt='URL port'>port</a> to
Expand Down
14 changes: 12 additions & 2 deletions url.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<h1 class="p-name no-ref allcaps" id="title">URL</h1>

<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Living Standard — Last Updated
<time class="dt-updated" datetime="2015-05-09">9 May 2015</time></span></h2>
<time class="dt-updated" datetime="2015-05-25">25 May 2015</time></span></h2>

<div data-fill-with="spec-metadata">
<dl>
Expand Down Expand Up @@ -1645,7 +1645,9 @@ <h3 class="heading settled" data-level="4.2" id="url-parsing"><span class="secno

<dd>

<p>Set <var>url</var>’s <a data-link-type="dfn" href="#concept-url-host">host</a>
<p>Set <var>url</var>’s <a data-link-type="dfn" href="#concept-url-userinfo">userinfo</a> to
<var>base</var>’s <a data-link-type="dfn" href="#concept-url-userinfo">userinfo</a>,
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-host">host</a>
to <var>base</var>’s <a data-link-type="dfn" href="#concept-url-host">host</a>,
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-port">port</a> to
<var>base</var>’s <a data-link-type="dfn" href="#concept-url-port">port</a>,
Expand Down Expand Up @@ -1679,6 +1681,8 @@ <h3 class="heading settled" data-level="4.2" id="url-parsing"><span class="secno

<dd>
<p>Set
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-userinfo">userinfo</a> to
<var>base</var>’s <a data-link-type="dfn" href="#concept-url-userinfo">userinfo</a>,
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-host">host</a> to
<var>base</var>’s <a data-link-type="dfn" href="#concept-url-host">host</a>,
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-port">port</a> to
Expand All @@ -1693,6 +1697,8 @@ <h3 class="heading settled" data-level="4.2" id="url-parsing"><span class="secno

<dd>
<p>Set
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-userinfo">userinfo</a> to
<var>base</var>’s <a data-link-type="dfn" href="#concept-url-userinfo">userinfo</a>,
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-host">host</a> to
<var>base</var>’s <a data-link-type="dfn" href="#concept-url-host">host</a>,
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-port">port</a> to
Expand Down Expand Up @@ -1720,6 +1726,8 @@ <h3 class="heading settled" data-level="4.2" id="url-parsing"><span class="secno
consists of one code point, or <a data-link-type="dfn" href="#remaining">remaining</a>’s second code point is
not one of "<code>/</code>", "<code>\</code>", "<code>?</code>",
and "<code>#</code>", then set
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-userinfo">userinfo</a> to
<var>base</var>’s <a data-link-type="dfn" href="#concept-url-userinfo">userinfo</a>,
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-host">host</a> to
<var>base</var>’s <a data-link-type="dfn" href="#concept-url-host">host</a>,
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-port">port</a> to
Expand Down Expand Up @@ -1786,6 +1794,8 @@ <h3 class="heading settled" data-level="4.2" id="url-parsing"><span class="secno

<p>If <var>url</var>’s <a data-link-type="dfn" href="#concept-url-scheme">scheme</a> is not
"<code>file</code>", set
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-userinfo">userinfo</a> to
<var>base</var>’s <a data-link-type="dfn" href="#concept-url-userinfo">userinfo</a>,
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-host">host</a> to
<var>base</var>’s <a data-link-type="dfn" href="#concept-url-host">host</a> and
<var>url</var>’s <a data-link-type="dfn" href="#concept-url-port">port</a> to
Expand Down