browser: secure context for localhost

revision d51747456da7709c459741c16d8509503c42a16d

raw

README.rst

https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/84#security

Firefox now ensures that localhost URLs — such as http://localhost/ and http://dev.localhost/ — refer to the local host's loopback interface (e.g. http://127.0.0.1). As a result, resources loaded from localhost are now assumed to have been delivered securely

https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts#when_is_a_context_considered_secure

Locally-delivered resources such as those with http://127.0.0.1 URLs, http://localhost and http://*.localhost URLs (e.g. http://dev.whatever.localhost/), and file:// URLs are also considered to have been delivered securely.

System Message: WARNING/2 (<stdin>, line 7); backlink

Inline emphasis start-string without end-string.

Note : Firefox 84 and later support http://localhost and http://*.localhost URLs as trustworthy origins (earlier versions did not, because localhost was not guaranteed to map to a local/loopback address).

History