Skip to content

Commit 3ae445e

Browse files
committed
Account for localhost. (with trailing dot) in origin resolving
See whatwg/url#693 for context.
1 parent a15074d commit 3ae445e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fetch.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2362,7 +2362,8 @@ functionality.
23622362
« <var>origin</var>'s <a for=origin>host</a> ».
23632363

23642364
<li><p>If <var>origin</var>'s <a for=origin>host</a>'s <a for=host>public suffix</a> is
2365-
"<code>localhost</code>", then return « <code>::1</code>, <code>127.0.0.1</code> ».
2365+
"<code>localhost</code>" or "<code>localhost.</code>", then return « <code>::1</code>,
2366+
<code>127.0.0.1</code> ».
23662367

23672368
<li>
23682369
<p>Perform an <a>implementation-defined</a> operation to turn <var>origin</var> into a

0 commit comments

Comments
 (0)