Page 1 of 1

[FIXED] Contextual permissions get confused about context on plain-HTTP sites

Posted: Sun Feb 20, 2022 1:24 am
by barbaz
If you try to set a contextual permission on e.g. http://forums.mozillazine.org/ NoScript will only offer to set it for "...http://forums.mozillazine.org". This makes no sense, as there is never any component of a URL to the left of its scheme.

On the HTTPS version of forums.mozillazine.org the only contextual permission option offered is for "...mozillazine.org".

Re: Contextual permissions get confused about context on plain-HTTP sites

Posted: Sun Feb 20, 2022 8:13 am
by Giorgio Maone
Should be fixed in latest development build, thanks.

v 11.3.3rc4
============================================================
x Fixed wrong label for http: sites in contextual policy UI
(thanks barbaz for reporting)
x Fix for first party context policy ignored on first load
in new tabs (thanks ayi for reporting)

Re: Contextual permissions get confused about context on plain-HTTP sites

Posted: Sun Feb 20, 2022 2:52 pm
by barbaz
Thanks, it shows the full address now 8-)

Looking at the commit, the use of === in this line looks weird, is it intended?

Re: Contextual permissions get confused about context on plain-HTTP sites

Posted: Sun Feb 20, 2022 3:05 pm
by Giorgio Maone
barbaz wrote: Sun Feb 20, 2022 2:52 pm Looking at the commit, the use of === in this line looks weird, is it intended?
A typo (already there), indeed. Fixing it, thanks.