Closed Bug 429467 Opened 17 years ago Closed 17 years ago

new Security policy for local files is to strict

Categories

(Core :: Security, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 425201

People

(Reporter: sjoerdmulder, Assigned: dveditz)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 Currently in Firefox 3 beta 5 it is impossible to do an XMLHttpRequest on another file in the same directory. According to the security.fileuri.strict_origin_policy on Mozillazine (http://kb.mozillazine.org/Security.fileuri.strict_origin_policy) it should be "Local documents have access to other local documents in the same directory and in subdirectories, but not directory listings. (Default)". This is quite annoying for people using the XHR request in local file HTML references for example. (they stop working in FF3) Reproducible: Always Steps to Reproduce: 1. Open the attachted testcase 2. See the Javascript error because of the denied XHR.open 3. Change the XHR.open to the second line
Attachment #316194 - Attachment mime type: application/octet-stream → application/zip
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: