Page 1 of 2

Version 2.6.9.36 update kills local links

Posted: Mon Aug 24, 2015 8:50 pm
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...

Re: Version 2.6.9.36 update kills local links

Posted: Mon Aug 24, 2015 11:35 pm
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.)

Re: Version 2.6.9.36 update kills local links

Posted: Thu Aug 27, 2015 5:30 am
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.

Re: Version 2.6.9.36 update kills local links

Posted: Tue Sep 01, 2015 1:33 pm
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?

Re: Version 2.6.9.36 update kills local links

Posted: Tue Sep 01, 2015 4:52 pm
by Giorgio Maone
Could you try disabling NoScript's "Allow local file" option and use this method instead?

Re: Version 2.6.9.36 update kills local links

Posted: Tue Sep 01, 2015 8:53 pm
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?

Re: Version 2.6.9.36 update kills local links

Posted: Wed Sep 02, 2015 12:44 am
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.

Re: Version 2.6.9.36 update kills local links

Posted: Wed Sep 02, 2015 6:53 am
by valdemar1977
I'm using 2.6.9.35. In this version all working great.

Re: Version 2.6.9.36 update kills local links

Posted: Thu Sep 03, 2015 12:51 pm
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..

Re: Version 2.6.9.36 update kills local links

Posted: Thu Sep 03, 2015 1:21 pm
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?

Re: Version 2.6.9.36 update kills local links

Posted: Fri Sep 04, 2015 8:08 am
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

Re: Version 2.6.9.36 update kills local links

Posted: Tue Sep 15, 2015 11:54 am
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 :)

Re: Version 2.6.9.36 update kills local links

Posted: Wed Sep 16, 2015 12:42 am
by Thrawn
Have you tried setting the CAPS policies mentioned above?

Re: Version 2.6.9.36 update kills local links

Posted: Mon Nov 23, 2015 3:10 pm
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)

Re: Version 2.6.9.36 update kills local links

Posted: Mon Nov 23, 2015 3:13 pm
by grasor
FYI CAPs method: http://kb.mozillazine.org/Links_to_loca ... n%27t_work