How do you prevent browswer from redirecting localhost to https://localhost?
Browser randomly redirects localhost to https://localhost. After a couple restarts, and extensive research, it stops doing it. Any ideas on how to prevent it from happening in the first place?
Все ответы (1)
Hi dcarter.android, are you saying that Firefox starts changing
http://localhost/
to
https://localhost/
Does your localhost have an SSL certificate?
One possible reason for upgraded connections is if a website on https://localhost/ previously instructed Firefox to always use a secure connection (HTTP Strict Transport Security or HSTS).
However, that wouldn't go away by itself, it is stored persistently in your profile folder.
Another possible reason is an extension like HTTPS Everywhere, but I don't know whether it pays attention to localhost.
Otherwise, maybe some code in the site??