Skip to content

Commit 13524e9

Browse files
ericlaw1979meacer
authored andcommitted
Skip localhost when evaluating HSTS upgrades
Fixes #1780.
1 parent f97f561 commit 13524e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fetch.bs

+2
Original file line numberDiff line numberDiff line change
@@ -4640,6 +4640,8 @@ steps:
46404640
"<code>http</code>"
46414641
<li><var>request</var>'s <a for=request>current URL</a>'s <a for=url>host</a> is a
46424642
<a for=/>domain</a>
4643+
<li><var>request</var>'s <a for=request>current URL</a>'s <a for=url>host</a>'s
4644+
<a for=host>public suffix</a> is not "<code>localhost</code>" or "<code>localhost.</code>"
46434645
<li>Matching <var>request</var>'s <a for=request>current URL</a>'s <a for=url>host</a> per
46444646
<a href=https://www.rfc-editor.org/rfc/rfc6797.html#section-8.2>Known HSTS Host Domain Name Matching</a>
46454647
results in either a superdomain match with an asserted <code>includeSubDomains</code> directive

0 commit comments

Comments
 (0)