Issue metadata
Sign in to add a comment
|
SSL forced on local device domains
Reported by
r...@weeverapps.com,
Sep 20 2017
|
||||||||||||||||||||
Issue descriptionChrome Version: 63.0.3218.0 MacOS 10.12.6 Seems if you develop a web app locally using your own domain (e.g. add in the hostfile/use Gas Mask), Chrome forwards every request to HTTPS, not allowing an HTTP query. Steps To Reproduce: (1) Go to http://myfakedomain.dev (2) Chrome changes this to https://myfakedomain.dev without even checking if there's a site there at that domain Expected Result: Should have queried HTTP to see if something is there before rejecting. Actual Result: Chrome changes protocol without testing How frequently does this problem reproduce? Always, though it does not happen with http://localhost or http://*.local domains. What is the impact to the user, and is there a workaround? If so, what is it? No work-around for domains as they are, other than to use a different browser for development of a site locally, or change your domains to .local. Please provide any additional information below. Attach a screen shot or log if possible. For graphics-related bugs, please copy/paste the contents of the about:gpu page at the end of this report.
,
Sep 21 2017
You should use .test, not .dev. .dev is actually a real TLD these days. You should be using one of the TLDs described in RFC 2606 to avoid collisions with possible future domains:
.test
.example
.invalid
.localhost
Those are reserved for testing and will not be turned into real TLDs.
,
Sep 21 2017
Good point. Surely it shouldn't matter though? I should be able to add an entry for google.com in my local hosts file if I want, and as long as there is something to serve it locally it should never try to go anywhere else.
,
Sep 22 2017
I'm inclined to agree with the previous comment. If you wish to route any domain locally, regardless of its registration/TLD status, I don't see why the HTTP protocol should be skipped in favour of HTTPS. Could this not break some intranet setups?
,
Sep 25 2017
> If you wish to route any domain locally, regardless of its registration/TLD status, I don't see why the HTTP protocol should be skipped in favour of HTTPS. Could this not break some intranet setups? This is what .localhost is for. It is still useful to support HSTS on localhost for testing, although we has Issue 607881 (Blacklist HSTS for localhost). |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by rda...@gmail.com
, Sep 21 2017