Tags:
create new tag
view all tags

Question

I created a direct link to an HTML file on an intranet file server. I have tried various formats for the link but cannot get Mozilla to open the link. It just sits there when clicked. The link on the TWiki page works for IE and Opera but not Mozilla.

The link looks like:

[[file:///\\server\c\DOCS\Important\page.html Important Page]]

I have tried:

file://///server/c/DOCS/Important/page.html

file:///%5C%5Cserver%5Cc%5CDOCS%5CImportant%5Cpage.html

But they don't work in Mozilla when clicked on. If I cut and paste them into the location bar, it loads fine. :^/

It seems to be a Mozilla issue but I wanted to confirm the behavior with TWiki users. Any thoughts?

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, CommentPlugin
Server OS: Red Hat Linux 7.3, kernel 2.4.18-26.7.x
Web server: Apache/1.3.27
Perl version: v5.6.1
Client OS: Windows 2000, service pack 4
Web Browser: Mozilla 1.4

-- AlanDayley - 26 Sep 2003

Answer

Here I am answering my own question.

Mozilla considers links to files on a the network, like file://///server/c/Test/This/File.html to be a security risk. Therefore, the default setting disables the ability to load such a link.

The following is how to change the setting so that such links work.

  • Open the Mozilla\default\pref\all.js file in an editor. On Windows 2000 this file is at "C:\Program Files\mozilla.org\Mozilla\defaults\pref\all.js" (Mozilla 1.4).
  • Edit the line "pref("security.checkloaduri", true);"
  • Change "true" to "false"
  • Save the file and restart Mozilla.

I pulled this solution from Mozilla bug 107540.

I hope this helps someone! Helps me.

-- AlanDayley - 26 Sep 2003

Thanks for providing this solution! I've added this to MozillaBrowserIssues, which is linked from BrowserIssues.

-- RichardDonkin - 29 Sep 2003

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2003-09-29 - RichardDonkin
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.