Closed
Bug 429467
Opened 17 years ago
Closed 17 years ago
new Security policy for local files is to strict
Categories
(Core :: Security, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 425201
People
(Reporter: sjoerdmulder, Assigned: dveditz)
Details
Attachments
(1 file)
|
1.25 KB,
application/zip
|
Details |
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
| Reporter | ||
Comment 1•17 years ago
|
||
Updated•17 years ago
|
Attachment #316194 -
Attachment mime type: application/octet-stream → application/zip
Updated•17 years ago
|
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.
Description
•