Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

How do you prevent browswer from redirecting localhost to https://localhost?

more options

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?

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)

more options

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??