I stumbled upon an interesting issue with the following configuration:
I allowed scripts only on
https://www.example.com and at the same time I force www.example.com to use HTTPS (I know that this configuration doesn't make in much sense most cases).
Now I am on a page on example.com with the following source:
Code: Select all
<head>
<base href="http://www.example.com/"></base>
<script type="text/javascript" src="a.js"></script>
<script type="text/javascript" src="http://www.example.com/b.js"></script>
</head>
Now I haven't had the time to look further in this, but at least one of those scripts seems to get executed. Either both of them get loaded and the NoScript icon is incorrectly displaying to me that some scripts are blocked (and offering me to allow
http://www.example.com) or only one gets loaded which I as a user wouldn't expect when enforcement of HTTPS happens before everything.