Bug 11464 - data: URIs with backslashes canonicalize incorrectly
Summary: data: URIs with backslashes canonicalize incorrectly
Status: RESOLVED DUPLICATE of bug 16692
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: data:text/html,<object data="data:tex...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-30 19:18 PST by Kevin Ballard
Modified: 2008-11-28 12:25 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Ballard 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'
Comment 1 Mark Rowe (bdash) 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.
Comment 2 Alexey Proskuryakov 2006-10-30 21:35:03 PST
See also: bug 10323.
Comment 3 Alexey Proskuryakov 2008-11-28 12:25:35 PST
Fixed as bug 16692.

*** This bug has been marked as a duplicate of 16692 ***