Rob--W / https-by-default

Use HTTPS by default for navigations from the location bar in Chrome / Firefox.
MIT License
63 stars 12 forks source link

Include URL conversion without "www" #9

Closed anthologist closed 7 years ago

anthologist commented 7 years ago

Just tested it for the first time, good idea but it needs some enhancements. If I type a website "example.com" in the URL bar the http page is provided. If I type the full "www.example.com" the https one is retrieved. Please include automatically the www during check?

Rob--W commented 7 years ago

Do you have an example? It is likely that the page itself is performing the redirect (so the server redirects to http even though the first request happens over https).

Rob--W commented 7 years ago

Since the server explicitly replied with a redirection to a non-https site, I will keep the current behavior as-is. There are too many sites which unconditionally redirect https-visitors to http, and rewriting such requests to automatically continue to https may lead to an infinite redirection loop.

For example, https://www.bbc.com and https://bbc.com both redirect to http://www.bbc.com

If you want to use HTTPS on as many sites as possible (in addition to the sites that you manually type in the location bar), install the HTTPS Everywhere add-on from the EFF.