Re: [whatwg/fetch] Skip localhost when evaluating HSTS upgrades (PR #1781)

@ericlaw1979 commented on this pull request.



> @@ -4509,6 +4509,8 @@ steps:
    "<code>http</code>"
    <li><var>request</var>'s <a for=request>current URL</a>'s <a for=url>host</a> is a
    <a for=/>domain</a>
+   <li><var>request</var>'s <a for=request>current URL</a>'s <a for=url>host</a>'s
+   <a for=host>public suffix</a> is not " localhost " or " localhost. "

I've made an update to add the code tags around the localhost hostnames as they were in ResolveAnOrigin. Is that what you were asking for?

"<code>localhost</code>" or "<code>localhost.</code>"

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1781#discussion_r1823051507
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1781/review/2405656781@github.com>

Received on Wednesday, 30 October 2024 17:01:29 UTC