Q: problem?
A: Since Noscript 2.4.2 (newewst RC was tested, nothing changed) cross-hosted stylesheets (and probably some scripts to) are not loading at all anymore, breaking websites like AMO, Youtube, Wikipedia and others who use stylesheets hosted on other servers.
Q: Sure?
A: Absolutely, I singled out Noscript to be the cause by deactivating all Addons except Noscript and then allowing scripts globally... it wouldn't work. On the other hand only disabling Noscript while having every thing else enabled makes all these sites load their stylesheets correctly.
Q: Only Stylesheets?
A: Could be more, but not having stylesheets makes today's webpages unusable anyway.
Q: culprit?
A: XSS-filter:
a) It's been tweaked the most lately
b) It doesn't work with all scripts and objects allowed, so that can't be it.
Q: Versions?
A: You can see, but it also doesn't work with the Stable Friefox 12 release.
Thanks in advance
[RESOLVED] Newest NS versions break cross-hosted stylesheets
-
CJax
[RESOLVED] Newest NS versions break cross-hosted stylesheets
Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20100101 Firefox/13.0
Re: Newest Noscript versions break all cross-hosted styleshe
Hmm...I can't reproduce this, but:
- XSS filter couldn't really be it, since you're talking about stylesheets, which aren't active content. Even a sanitised request should still be able to retrieve them.
- Have you used any custom ABE rules? Options-Advanced-ABE to see them.
- Any messages in Tools-Error Console?
- Have you tried a new profile with nothing installed except NoScript?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0
Re: Newest Noscript versions break all cross-hosted styleshe
I haven't had any trouble with any of those sites, either.
Also, if "absolutely", why can't we reproduce it? Can you borrow another machine that has NS, and see if it's reproducible on that one?
See XSS FAQ
Doesn't eliminate the possibility of a corrupt profile, as Thrawn suggested.CJax wrote: Q: Sure?
A: Absolutely, I singled out Noscript to be the cause by deactivating all Addons except Noscript and then allowing scripts globally... it wouldn't work. On the other hand only disabling Noscript while having every thing else enabled makes all these sites load their stylesheets correctly.
Also, if "absolutely", why can't we reproduce it? Can you borrow another machine that has NS, and see if it's reproducible on that one?
Irrelevant and illogical.Q: culprit?
A: XSS-filter:
a) It's been tweaked the most lately
If it were the XSS filter, you would receive various XSS notifications. Since you haven't reported any, that actually *eliminates* the XSS filter as a culprit.b) It doesn't work with all scripts and objects allowed, so that can't be it.
See XSS FAQ
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/12.0
Re: Newest Noscript versions break all cross-hosted styleshe
Hi,
I got a similar problem today (well, maybe it was there before, but i did not hit it).
The page in question is a php script returning a xml-page which is then rendered using xslt-stylesheet (not css!)
Now i find these lines in the error console of firefox:
Well, first, this is not actually cross-hosted and second, the xsl stylesheet IS xml.
So i think something is wrong here.
NS-Version in use is 2.4.3rc3
I got a similar problem today (well, maybe it was there before, but i did not hit it).
The page in question is a php script returning a xml-page which is then rendered using xslt-stylesheet (not css!)
Now i find these lines in the error console of firefox:
Code: Select all
[NoScript] Blocking cross-site CSS served from https://spahan.ch/mail.xsl with wrong type info application/xml and included by https://spahan.ch/aliasManager.phpSo i think something is wrong here.
NS-Version in use is 2.4.3rc3
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20100101 Firefox/10.0.3
Re: Newest Noscript versions break all cross-hosted styleshe
Maybe it expects the precise content type, see:hanfi wrote:Well, first, this is not actually cross-hosted and second, the xsl stylesheet IS xml.
Also XSLT is still blocked per default on untrusted pages (since it's pretty powerful, Turing-complete), which can be toggled in the "Untrusted" section of the "Advanced" options.http://www.w3.org/TR/xslt20/#xslt-mime-definition wrote:This appendix registers a new MIME media type, "application/xslt+xml".
But indeed, it's not cross-site.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0
Re: Newest Noscript versions break all cross-hosted styleshe
I added the xslt+xml type to my webserver, now i get a similar error....dhouwn wrote:Maybe it expects the precise content type, see:hanfi wrote:Well, first, this is not actually cross-hosted and second, the xsl stylesheet IS xml.http://www.w3.org/TR/xslt20/#xslt-mime-definition wrote:This appendix registers a new MIME media type, "application/xslt+xml".
Code: Select all
[NoScript] Blocking cross-site CSS served from https://spahan.ch/mail.xsl with wrong type info application/xslt+xml and included by https://spahan.ch/aliasManager.phpYes, i always have to allow the site, that is expected.dhouwn wrote: Also XSLT is still blocked per default on untrusted pages (since it's pretty powerful, Turing-complete), which can be toggled in the "Untrusted" section of the "Advanced" options.
I too tried disable NoScript and then the page works without problems.
I created a test case (by simply using a static xml instead the php script) one can find here: https://spahan.ch/test.xml (please ignore ssl errors, i fix that when i get some spare time :-p)
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20100101 Firefox/10.0.3
- Giorgio Maone
- Site Admin
- Posts: 9539
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Newest Noscript versions break all cross-hosted styleshe
Looks like a regression from
Investigating, thanks.http://noscript.net/changelog wrote: v 2.4.3rc3
=========================================================================
[...]
x Fixed exception raised by inclusion type checks when parent document's
URI has no host
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
- Giorgio Maone
- Site Admin
- Posts: 9539
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Newest Noscript versions break all cross-hosted styleshe
Fixed in latest development build 2.4.4rc1, thank you.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
-
ATKoerner
Re: Newest Noscript versions break all cross-hosted styleshe
Thanks for fixing. I've had the same problems with local xslt style sheet transformations not working any longer with NoScript 2.4.3Giorgio Maone wrote:Fixed in latest development build 2.4.4rc1, thank you.
Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0