I think there are two issues:
- You need to escape the slashes.
- Browser security.
Explanation:
-
I checked one of mine, I have the pattern:
<a href="https://stackoverflow.com/questions/5796215/file://///server01\fshare\dir1\dir2\dir3">useful link </a>
Please note that we ended up with 5 slashes after the protocol (
file:
) -
Firefox will try to prevent cross site scripting. My solution was to modify prefs.js in the profile directory. You will add two lines:
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess"); user_pref("capability.policy.localfilelinks.sites", "http://mysite.company.org");