Open Bug 1131848 Opened 9 years ago Updated 2 years ago

parseFragment local links from local pages

Categories

(Core :: DOM: Core & HTML, defect, P5)

35 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: kribesk, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150122214805

Steps to reproduce:

var parser = Components.classes["@mozilla.org/parserutils;1"]
         .getService(Ci.nsIParserUtils);

parser.parseFragment(html, 0, 0, baseURI, rootDocument.documentElement);

where baseURI is "file:///..." and html contains links like "file:///..."


Actual results:

These links' hrefs are excluded and security error is reported. 


Expected results:

These links are safe and should be kept.
Component: Untriaged → DOM
OS: Windows 8.1 → All
Product: Firefox → Core
Hardware: x86_64 → All
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.