<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>11464</bug_id>
          
          <creation_ts>2006-10-30 19:18:01 -0800</creation_ts>
          <short_desc>data: URIs with backslashes canonicalize incorrectly</short_desc>
          <delta_ts>2008-11-28 12:25:35 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>16692</dup_id>
          
          <bug_file_loc>data:text/html,&lt;object data=&quot;data:text/plain,\&quot;&gt;&lt;/object&gt;</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kevin Ballard">kevin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48423</commentid>
    <comment_count>0</comment_count>
    <who name="Kevin Ballard">kevin</who>
    <bug_when>2006-10-30 19:18:01 -0800</bug_when>
    <thetext>If I use a data: URI with backslashes in the data, the backslashes get canonicalized to forward slashes, which is incorrect.

Example:
&lt;html&gt;
	&lt;head&gt;
		&lt;meta http-equiv=&quot;Content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
		&lt;title&gt;Page Title&lt;/title&gt;
		
	&lt;/head&gt;
	&lt;body&gt;
		&lt;object data=&quot;data:text/html;charset=utf8,&lt;b&gt;this&lt;/b&gt; is a \&apos;test&apos;&quot;&gt;&lt;/object&gt;
	&lt;/body&gt;
&lt;/html&gt;

The rendered text is:

this is a /&apos;test&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48424</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-10-30 20:01:41 -0800</bug_when>
    <thetext>Confirmed with WebKit 418.9 and ToT.  This may be caused by a bug in another component of the operating system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48426</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-10-30 21:35:03 -0800</bug_when>
    <thetext>See also: bug 10323.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100617</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-11-28 12:25:35 -0800</bug_when>
    <thetext>Fixed as bug 16692.

*** This bug has been marked as a duplicate of 16692 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>