Closed
Bug 594730
Opened 14 years ago
Closed 14 years ago
Make the meta prescan pay attention to http-equiv
Categories
(Core :: DOM: HTML Parser, defect, P2)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: hsivonen, Assigned: hsivonen)
References
Details
Attachments
(1 file, 1 obsolete file)
The HTML5 has at some point changed to require the meta prescan to pay attention to the http-equiv attribute. Need to adjust the implementation accordingly.
Assignee | ||
Comment 1•14 years ago
|
||
It seems the spec bug was http://www.w3.org/Bugs/Public/show_bug.cgi?id=9225
Assignee | ||
Updated•14 years ago
|
Priority: -- → P3
Assignee | ||
Comment 2•14 years ago
|
||
Per discussion with jst, nominating all HTML5 parsing spec change bugs as blockers.
The benefit of this particular change would be not accidentally paying attention to <meta http-equiv="Not-Content-Type" content="charset=utf-8"> or <meta name="whatever" content="charset=utf-8">.
This is mainly a security feature against an attacker being able to change the interpretation of the bytes of the page by getting user-provided metadata that contains charset=foo into metadata.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Priority: P3 → P2
Assignee | ||
Comment 5•14 years ago
|
||
Assignee | ||
Comment 6•14 years ago
|
||
The patch assumes fixes for these spec bugs:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11428
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11426
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11411
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11412
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11414
Assignee | ||
Comment 7•14 years ago
|
||
Attachment #493958 -
Attachment is obsolete: true
Attachment #494681 -
Flags: review?(jonas)
Comment on attachment 494681 [details] [diff] [review]
Pay attention to http-equiv; make late charset switch work right when the precan and the tree builder disagree, v2
rs=me
Attachment #494681 -
Flags: review?(jonas) → review+
Assignee | ||
Comment 9•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•14 years ago
|
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•