Version 2.6.9.36 update kills local links

Bug reports and enhancement requests
grasor
Posts: 3
Joined: Mon Aug 24, 2015 7:22 pm

Version 2.6.9.36 update kills local links

Post by grasor »

This is complicated... I currently use NoScript to enable loading images via a plug-in (Alternatiff) that is activated when the browser invokes an html or php web page.

The test code is:

Code: Select all

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
  <title>TIFF Test (NAS)</title>
</head>

<body>
  <table border="1" width="100%">
    <tr>
      <td><iframe vspace="4" hspace="4" width="700" height="340" src=
      "file://///192.168.1.0/Images/000000150.tif" type="image/tiff"></iframe></td>
    </tr>

    <tr>
      <td><embed vspace="4" hspace="4" width="700" height="340" src=
      "file://///192.168.1.0/Images/000000150.tif" type="image/tiff" alt=
      "file://///192.168.1.0/Images/000000150.tif" /></td>
    </tr>

    <tr>
      <td><img src="file://///192.168.1.0/Images/front_page_96_dpi.jpg" alt=
      "file://///192.168.1.0/Images/front_page_96_dpi.jpg" vspace="4" hspace="4" width=
      "700" height="320" /></td>
    </tr>
  </table>
</body>
</html>
Under both Windows and OS X operating systems, there is no native handling of TIFF image files. The MIME "image/tiff" designates the type of file referenced at the path "file://///192.168.1.0/Images/000000150.tif" This is a network attached storage device, or SMB file server.

Thus, the local browser plug-in "Alternatiff" is invoked when the file "000000150.tif" at the path "file://///192.168.1.0/Images/" is read, and the plug-in renders the graphical TIFF image in a HTML table cell. The first and second instances in the sample HTML above render TIFF images in an iframe and an embedded table cell, while the last instance pulls a JPEG file from the same path at the NAS and uses the native JPEG rendering capability of the Firefox browser to render the image in a HTML table cell.

This worked flawlessly until the 2.6.9.36 update.

After applying the update, Firefox will no longer load any images that are accessed via so-called local links.

If I revert to the previous version of No Script, all is well, everything works as expected.

I noticed in the release notes that there was a fix as follows:

x [e10s] Fixed MozBug 1196477 (crash with allowLocalLinks)

The issue I've detailed above may be related to this fix.

I have screen shots of the behavior described here, but need to upload images to a Internet image server before integrating the images.

Please advise...
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Version 2.6.9.36 update kills local links

Post by Thrawn »

That does sound like it's probably related. Giorgio will likely know what would have happened.

(Do you really need that many slashes in the file URLs? I would have thought three at most.)
======
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 x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
valdemar1977
Posts: 2
Joined: Thu Aug 27, 2015 5:18 am

Re: Version 2.6.9.36 update kills local links

Post by valdemar1977 »

Hello!
The same problem.
After enable local links it is work in active tab, but in new tab, window or after restart it is doesn't work before re-enable in settings.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Koopz
Posts: 3
Joined: Tue Sep 01, 2015 1:22 pm

Re: Version 2.6.9.36 update kills local links

Post by Koopz »

Same problem here.
Local links seem to be working for us when opening new tabs but after restarting FF, they won't work until I open the settings, uncheck the option to enable the local links, hit ok, reopen the settings and check the option again.
I'd appreciate a fast hotfix for this issue.

Is there a workaround for this? when searching for "local links" in this forum i stumbled upon a post saying there were some native Firefox settings i could use when i don't have NS installed? Is that still true or has this changed since FF 30?
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0
User avatar
Giorgio Maone
Site Admin
Posts: 9529
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Version 2.6.9.36 update kills local links

Post by Giorgio Maone »

Could you try disabling NoScript's "Allow local file" option and use this method instead?
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
User avatar
therube
Ambassador
Posts: 7972
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Version 2.6.9.36 update kills local links

Post by therube »

> use this method

Which?
The LocalLinks extension?

IE doesn't apply?
NoScript is what you want to bypass, at present?
CAPS is no more?
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:36.0) Gecko/20100101 SeaMonkey/2.33.1
User avatar
Giorgio Maone
Site Admin
Posts: 9529
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Version 2.6.9.36 update kills local links

Post by Giorgio Maone »

therube wrote: Which?
Sorry, I meant the old school, pref based CAPS method, which has been restored by Mozilla with an ad-hoc emulation patch.
NoScript's version caused a top crash on e10s, and the work-around is apparently breaking the functionality pre-e10s, so while I'm trying to sort everything out the best bet is "emulated" CAPS.
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
valdemar1977
Posts: 2
Joined: Thu Aug 27, 2015 5:18 am

Re: Version 2.6.9.36 update kills local links

Post by valdemar1977 »

I'm using 2.6.9.35. In this version all working great.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Koopz
Posts: 3
Joined: Tue Sep 01, 2015 1:22 pm

Re: Version 2.6.9.36 update kills local links

Post by Koopz »

The CAPS method works in 40.0.3
Though, fyi all my tabs are breaking if i lock those CAPS prefs in my current FF Developer Edition v42.0a2.
Hope this doesn't happen when the normal FF is at v42..
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0
User avatar
Giorgio Maone
Site Admin
Posts: 9529
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Version 2.6.9.36 update kills local links

Post by Giorgio Maone »

Koopz wrote: Though, fyi all my tabs are breaking if i lock those CAPS prefs in my current FF Developer Edition v42.0a2.
Also with NoScript uninstalled?
If so, could you please share your CAPS configuration?
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Koopz
Posts: 3
Joined: Tue Sep 01, 2015 1:22 pm

Re: Version 2.6.9.36 update kills local links

Post by Koopz »

NoScript is uninstalled. Don't know, why it's variables are still set though.
After locking these 5 settings, I can't open a single page except about:config.
When trying to restore a tab, a css file opens in notepad.
Image
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0
peter_b
Posts: 2
Joined: Tue Sep 15, 2015 10:11 am

Re: Version 2.6.9.36 update kills local links

Post by peter_b »

Same problem here:
Since (unfortunately automatic) upgrade to 2.6.9.36, local links for trusted sites are randomly disabled.

Interesting behavior:
When toggling one of the following options, it works again:
  • Advanced > ClearClick protection on pages... > "trusted" / "untrusted"
  • Advanced > Trusted > Allow local links
The options are not changed, but I simply toggle them, then toggle them back. Looks like the setting for local links is being "triggered" then to its correct value...

Doesn't sound like intended behavior :)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Version 2.6.9.36 update kills local links

Post by Thrawn »

Have you tried setting the CAPS policies mentioned above?
======
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 x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
grasor
Posts: 3
Joined: Mon Aug 24, 2015 7:22 pm

Re: Version 2.6.9.36 update kills local links

Post by grasor »

Giorgio,

I will re-test this with your latest release 2.7. Since the 2.6.9.36 release, I have been frozen at 2.6.9.35 to preserve the prior functionality. Is there anything that I can do to actually determine why the behavior changed between 2.6.9.35 and later versions? I did try teh CAPS method using current ESR version(s) of Firefox, and it did not work when NoScript was re-installed.

Best regards,

Gregg Rasor
(the original poster)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
grasor
Posts: 3
Joined: Mon Aug 24, 2015 7:22 pm

Re: Version 2.6.9.36 update kills local links

Post by grasor »

FYI CAPs method: http://kb.mozillazine.org/Links_to_loca ... n%27t_work
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:38.0) Gecko/20100101 Firefox/38.0
Post Reply