- From: Domenic Denicola <notifications@github.com>
- Date: Mon, 27 Apr 2020 09:32:51 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 27 April 2020 16:33:04 UTC
@domenic 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. This doesn't really help much IMO. Addressing #482 would involve explaining the meaning of empty path segments, either here or somewhere else that this step could link to. -- 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#pullrequestreview-401125515
Received on Monday, 27 April 2020 16:33:04 UTC