Bug 11464

Summary: data: URIs with backslashes canonicalize incorrectly
Product: WebKit Reporter: Kevin Ballard <kevin>
Component: Page LoadingAssignee: 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
Reported 2006-10-30 19:18:01 PST
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
Mark Rowe (bdash)
Comment 1 2006-10-30 20:01:41 PST
Confirmed with WebKit 418.9 and ToT. This may be caused by a bug in another component of the operating system.
Alexey Proskuryakov
Comment 2 2006-10-30 21:35:03 PST
See also: bug 10323.
Alexey Proskuryakov
Comment 3 2008-11-28 12:25:35 PST
Fixed as bug 16692. *** This bug has been marked as a duplicate of 16692 ***
Note You need to log in before you can comment on or make changes to this bug.