Closed Bug 310386 Opened 19 years ago Closed 19 years ago

file:// links don't work after enabling CAPS preference

Categories

(Firefox :: Security, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: jsieben_mozilla, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

I followed the steps in this KB article using Firefox 1.5 Beta 1 

http://kb.mozillazine.org/Links_to_local_pages_don't_work

file:// links on my intranet are still giving the JS Console security error.

Reproducible: Always

Steps to Reproduce:
1. Create a page on a server (my server was an intranet server called http://wiki )
2. Follow steps in http://kb.mozillazine.org/Links_to_local_pages_don't_work to
add http://wiki to user.js
3. Visit the page and click the file:// link

Actual Results:  
Nothing happens.

Visit the JS Console to see security error.

Expected Results:  
The link should have been followed.

The same setup works in Firefox 1.0 when the checkLoadURI setting is disabled.

However, this setup does not work in 1.5 Beta 1:

user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "http://wiki");
user_pref("capability.policy.localfilelinks.checkloaduri", "allAccess");
Version: unspecified → 1.5 Branch
That documentation is just wrong.  Compare what they write to what I said in bug
84128 comment 194 and bug 84128 comment 199.  In particular, instead of

  user_pref("capability.policy.localfilelinks.checkloaduri", "allAccess");

you want

  user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Note that the documentation was apparently fixed on Sept. 29th.
You need to log in before you can comment on or make changes to this bug.