- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 27 Apr 2020 09:59:35 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 27 April 2020 16:59:48 UTC
@annevk commented on this pull request. > - <li><p>If <var>buffer</var> is a <a>double-dot path segment</a>, <a>shorten</a> - <var>url</var>'s <a for=url>path</a>, and then if neither <a>c</a> is U+002F (/), nor - <var>url</var> <a>is special</a> and <a>c</a> is U+005C (\), <a for=list>append</a> - the empty string to <var>url</var>'s <a for=url>path</a>. + <li> + <p>If <var>buffer</var> is a <a>double-dot path segment</a>, then: + + <ol> + <li><p><a>Shorten</a> <var>url</var>'s <a for=url>path</a>. + + <li> + <p>If neither <a>c</a> is U+002F (/), nor <var>url</var> <a>is special</a> and <a>c</a> is + U+005C (\), <a for=list>append</a> the empty string to <var>url</var>'s + <a for=url>path</a>. + + <p class="note no-backref">Usually <a>c</a> is U+002F (/) at this point. Okay, would something like "This means that for input `/foo/..` the result is `/foo/` and not `/foo`." work? -- 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/482#discussion_r415986400
Received on Monday, 27 April 2020 16:59:48 UTC