Open
Bug 772377
Opened 13 years ago
Updated 3 years ago
URL bar doesn't handle non-predefined XML character entities
Categories
(Firefox :: File Handling, defect)
Tracking
()
NEW
People
(Reporter: jens, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20100101 Firefox/13.0.1
Build ID: 20120614114901
Steps to reproduce:
Open a new window/tab with the following URL:
data:text/xml,<say>hello
World</say>
Actual results:
Firefox complains about an unclosed token
Expected results:
Firefox should show an XML document, either omitting the escaped CR or displaying it as break, but it shouldn't give an error message.
This doesn't just occur with escaped CRs, but with any non-predefined XML character entity, and it's not restricted to text/xml data types. Perhaps even worse, If you open:
data:text/plain,<say>hello
World</say>
everything behind the ampersand character is cut off.
Comment 1•13 years ago
|
||
# should be escaped, See Bug 658949.
Comment 2•13 years ago
|
||
Reproducible on Firefox 13.0.1 and the latest Aurora and Nightly builds(07/10).
Component: Untriaged → File Handling
Updated•13 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•