- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 24 Jan 2023 17:46:16 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 25 January 2023 01:46:28 UTC
@domenic commented on this pull request.
> + <td><dfn>unexpected-Windows-drive-letter</dfn>
+ <td>
+ <p>The input is a <a>relative-URL string</a> that <a>starts with a Windows drive letter</a> and
+ the <a>base URL</a>'s <a for=url>scheme</a> is "<code>file</code>".
+ <pre class=example id=example-unexpected-windows-drive-letter><code class=lang-javascript>
+let url = new URL("/c:/path/to/file", "file:///c:/");</code></pre>
+ <td>❌
+ <tr>
+ <td><dfn>unexpected-Windows-drive-letter-host</dfn>
+ <td>
+ <p>The file URL's host is a Windows drive letter.
+ <p class=example id=example-unexpected-windows-drive-letter-host>"<code>file://c:</code>"
+ <td>❌
+ <tbody>
+ <tr>
+ <th colspan=3 scope=rowgroup>URL parsing and <a>opaque-host parser</a>
Yeah, I think just putting them under URLs would make more sense. Unlike IPv4/IPv6/ToASCII, there's no clear differentiation here IMO.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/502#discussion_r1086127861
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/url/pull/502/review/1268602092@github.com>
Received on Wednesday, 25 January 2023 01:46:28 UTC