Fileview corrupted

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Fileview corrupted

Re: Fileview corrupted

by barbaz » Wed Sep 09, 2020 6:56 pm

mkupper wrote: Wed Sep 09, 2020 5:55 pm rather than hijacking this one.
Yeah, about that, your other post was moved to viewtopic.php?f=7&t=26110 because this thread is only about plain-text files, while you & I (& others) were experiencing an issue with images. Please use the other thread to discuss the issue with images.

Re: Fileview corrupted

by mkupper » Wed Sep 09, 2020 5:55 pm

I was using 11.0.42 on Firefox 80.0.1 (64-bit) on Windows 10.

Initially I planned to post a separate report about the issue but when I saw this thread about that 11.0.43rc1 fixed a corruption issue related to non HTML/HTML content I realized that 11.0.43rc1 could be relevant as I was trying to view .jpeg and .png files. I installed 11.0.43rc1 which fixed the issue. For the record, below here's the thing I had written up but then had not posted as the issue seemed to be covered by the 11.0.43rc1 fix.

----------
subject: Local images are displayed as text/garbage when the file: site is trusted

I'm running NoScript 11.0.42 on Firefox 80.0.1 (64-bit) on Windows 10.

For the past week or two local image files (jpeg, jpg, and png) are displaying as text when I try to view them directly.

For example, if I download https://noscript.net/noscript/logo.png to c:\tmp and then bring up file://C:/tmp/logo.png in Firefox then it shows a black and white "text" page that starts out with "?PNG ? IHDR??..." (some characters were replaced with ? to get through the forum's anti-spam filter) Right click and view page info shows the type is image/png.

If I create a small file://c:/tmp/logo.htm file containing just <img src=logo.png> then it works fine and I see the logo. If from that page I right click on the image and select view-image then I see the page of garbage text.

I tracked this down and it's caused by NoScript. If I disable all extensions except NoScript then I see garbage text instead of the image. If I disable NoScript then I see the image.

NoScript says that the file://C:/tmp/logo.png page is "safe" as it's the file: "site."

If I make the file: site "default" or "untrusted" then local images display fine.
If I temporarily trust the file: site then I get the page of garbage/text when I hit refresh.
----------

As I'm now running 11.0.43rc1 I can't reproduce the above though if needed I could revert back to 11.0.42 if you want me to try something. At that point I would assume we are dealing with something other than what 43rc1 was intended to fix and so I suspect I should start a new forum thread rather than hijacking this one.

Re: Fileview corrupted

by Giorgio Maone » Wed Sep 09, 2020 2:52 pm

Which NoScript version are you observing thos on?

Re: Fileview corrupted

by Quest » Wed Sep 09, 2020 2:17 pm

Not sure if this is related, but I have a handmade htm file as Home page with only some <a href> links in it. I felt that the the links opened quite slowly if at all at the first click and set the page Trusted in NoScript. I felt that it helped but now when I open that Home page then the scands ("ä":s) are question marks. That doesn't happen when the page is set to Default.

Re: Fileview corrupted

by Giorgio Maone » Mon Sep 07, 2020 9:33 pm

Please check latest development build:
v 11.0.43rc1
============================================================
x Should fix some race conditions causing corruptions in
non-HTML non-XML documents

Re: Fileview corrupted

by barbaz » Mon Sep 07, 2020 4:03 pm

therube wrote: Mon Sep 07, 2020 3:45 pm (Actually, sounds like what you said here, Local file directory listing sometimes shown as garbage text.)
I could not reproduce any problem with plain-text file.

Re: Fileview corrupted

by therube » Mon Sep 07, 2020 3:45 pm

(Actually, sounds like what you said here, Local file directory listing sometimes shown as garbage text.)

Re: Fileview corrupted

by barbaz » Mon Sep 07, 2020 2:20 pm

I'm not seeing this. Do you have a sample text file?

What is last working rc version of NoScript?

Old NoScript @
https://addons.mozilla.org/addon/noscript/versions
*or*
https://noscript.net/feed?quantum&c=100

Fileview corrupted

by rome5611 » Mon Sep 07, 2020 1:28 pm

As of today (sept 7 2020) view of local plain-text files in firefox doesn't work anymore.
- This morning everything was ok
- Today received NoScript update.
- No view is corrupted, view is ok if I disable NoScript.

Anybody familiar with this problem>

Top