Post
by undefined » Fri Apr 21, 2017 3:53 pm
firefox 53
noscript 5.0.2
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
unexpected behavior: if noscript is installed with "Allow local links" enabled (ie No Options -> Advanced -> Trusted -> Additional permissions for trusted sites -> Allow local links), then file:// urls do not load, or better phrased, won't even register a response from firefox. if you type "file:///" into the address bar, then upon pressing enter or clicking the "->" icon at the end of the address bar the address bar immediate reverts to "Search or enter address" and the web page remains unchanged (ie displays whatever was displayed previously, whether an actual web page or the start page). the behavior is the same for dragging-and-dropping html files from another application to the browser.
expected behavior: firefox acknowledges and loads web pages stored on the system's filesystem (ie file://).
the behavior changed upon installing the firefox 53 ubuntu security update yesterday. i can correlate it to this event because my email application uses firefox to render html emails, which i receive and view throughout the day, and upon upgrading to firefox 53 that stopped working (because the email application saves the html mime attachments to a temporary file and calls firefox against that using "file://...").
i traced it down to the "Allow local links" option by creating a new firefox profile, installing noscript from addons.mozilla.org, and manually recreating my noscript configuration until it broke with "Allow local links" enabled. I verified that the problem is only "Allow local links" (at least with the default noscript configuration, not in conjunction with my custom noscript configuration) by creating a new firefox profile, installing noscript, and recreating the issue by only changing the default noscript configuration by enabling "Allow local links".
i'm confused why enabling "Allow local links", which is an "Additional permission for trusted sites", would cause "file://" urls to not load. i would expect the issue to be the opposite: "file://" urls only load if "Allow local links" is enabled (not that that behavior is correct either, as user-originated "file://" references are not "links" though maybe they are now treated similarly due to internal firefox changes, but at least closer to the expected behavior).
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0