Bug 11464
Summary: | data: URIs with backslashes canonicalize incorrectly | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kevin Ballard <kevin> |
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ap, mrowe |
Priority: | P2 | ||
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | data:text/html,<object data="data:text/plain,\"></object> |
Kevin Ballard
If I use a data: URI with backslashes in the data, the backslashes get canonicalized to forward slashes, which is incorrect.
Example:
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Page Title</title>
</head>
<body>
<object data="data:text/html;charset=utf8,<b>this</b> is a \'test'"></object>
</body>
</html>
The rendered text is:
this is a /'test'
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
Confirmed with WebKit 418.9 and ToT. This may be caused by a bug in another component of the operating system.
Alexey Proskuryakov
See also: bug 10323.
Alexey Proskuryakov
Fixed as bug 16692.
*** This bug has been marked as a duplicate of 16692 ***