Intended behavior of HTTP | Never -> Force HTTPS *.site.com

Ask for help about NoScript, no registration needed to post
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Intended behavior of HTTP | Never -> Force HTTPS *.site.com

Post by therube »

What is the Intended behavior of HTTP | Never -> Force HTTPS => *.site.com ?

You have Forced HTTPS for *.site.com.

What happens if site.com does not support HTTPS?
What happens if site.com contains mixed content, all on .site.com?

What is the difference between ".site.com" & "*.site.com"?

If I Force HTTPS for .bankofamerica.com or *.bankofamerica.com why does http://locators.bankofamerica.com/locator/locator/LocatorAction.do work in http?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 SeaMonkey/2.18a2
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Intended behavior of HTTP | Never -> Force HTTPS *.site.

Post by therube »

Clueless.
I've done nothing that I know, yet now things look to be working more normally.

Now when I tried to load the http: boa URL, I get a Page Load Error, Redirect Loop.


OK, so maybe I did do a few things.
Ate dinner.
Dropped down from Aurora to Release.
Messed around with setting things to Always & "Tor" & back to Never.
Restarted browser.
(This was in a different Profile then normal.)


And now too I get the Redirect Loop in my original Profile, still running Aurora, not having shut down.
I did try the link in same window, different tab, also in a new window, & earlier it loaded the http:. Now I get Redirect.

?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 SeaMonkey/2.18a2
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Intended behavior of HTTP | Never -> Force HTTPS *.site.

Post by dhouwn »

therube wrote:What is the Intended behavior of HTTP | Never -> Force HTTPS => *.site.com ?
And exception list to the places where HTTPS is being enforced by NoScript, so only if a location matches an entry in the HTTPS and not in the "never force" list HTTPS enforcement happens.
Because it redirects I think. Oddly enough I believe to remember that Giorgio changed the behavior, but I thought he changed it the other way round, removing this "fallback".
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Intended behavior of HTTP | Never -> Force HTTPS *.site.

Post by therube »

re: Never & Forced HTTPS
And exception list to the places where HTTPS is being enforced by NoScript, so only if a location matches an entry in the HTTPS and not in the "never force" list HTTPS enforcement happens.
Let me revise slightly:
An exception list to the places where HTTPS is being enforced by NoScript, so only if a location matches an entry in the (Forced) HTTPS and not in the "never force" list HTTPS enforcement happens.
Which is what I was expecting, but was not seeing, initially.

Always - no page loaded by a plain HTTP or FTP connection is allowed
And what does that mean? What is supposed to happen, or not, & when?
If Always, & if no exception, then if a site does not support HTTPS, then it should not load?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 SeaMonkey/2.18a2
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Intended behavior of HTTP | Never -> Force HTTPS *.site.

Post by dhouwn »

therube wrote:If Always, & if no exception, then if a site does not support HTTPS, then it should not load?
Guess so, if you get the "The page isn't redirecting properly" error page then it's the right behavior (forget what I said earlier, Giorgio did indeed change it to not fall back to HTTP).
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Intended behavior of HTTP | Never -> Force HTTPS *.site.

Post by therube »

I don't know that Always is working - at all?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20100101 SeaMonkey/2.18a2
thunderscript
Posts: 16
Joined: Sat Mar 23, 2013 8:24 pm

Re: Intended behavior of HTTP | Never -> Force HTTPS *.site.

Post by thunderscript »

This is intended as a helpful contribution to the discussion, not as endorsement to other extensions. But for such needs, is it not easier to use HTTPS Everywhere instead? It rewrites http requests into https on websites for which the rules have been created. The rules are simple regex (or complex, depends on one's view), and it can fix requests where http and https may differ greatly.

For example, it rewrites requests to http www.flickr.com into https secure.flickr.com
More complicated example existed when wikipedia.org didn't yet support https, but wikimedia had. It could rewrite:
http en.wikipedia.org/wiki/NoScript into https secure.wikimedia.org/wikipedia/en/wiki/NoScript

An entire community of volunteers helps make rules for websites which support https, so in theory it should help on a much wider array of websites than one could cater for on his own. And they are more likely to discover "proper" sub-domains which allow SSL.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Intended behavior of HTTP | Never -> Force HTTPS *.site.

Post by Thrawn »

therube wrote:I don't know that Always is working - at all?
I'm pretty sure it works for me. For example, if I force HTTPS for .informaction.com, this very page tries (unsuccessfully) to go to secure.informaction.com.
thunderscript wrote: An entire community of volunteers helps make rules for websites which support https, so in theory it should help on a much wider array of websites than one could cater for on his own. And they are more likely to discover "proper" sub-domains which allow SSL.
Better still is HTTPS Finder. Which, btw, is designed to work with HTTPS Everywhere, but personally I prefer to use it on its own.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Intended behavior of HTTP | Never -> Force HTTPS *.site.

Post by therube »

> if I force HTTPS for .informaction.com

Right, that will work.


But if you select Always, then every site should be forced, without white or blacklisting anything, no?

And that is not happening.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20100101 SeaMonkey/2.18a2
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Intended behavior of HTTP | Never -> Force HTTPS *.site.

Post by Thrawn »

If that's what you want, then just put an asterisk in the Always box.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Intended behavior of HTTP | Never -> Force HTTPS *.site.

Post by therube »

Always the simple solution, huh ;-).
Yes, that works.
(And thanks to the spammer. Otherwise I had missed the post.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 SeaMonkey/2.19a2
Post Reply