<?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>11655</bug_id>
          
          <creation_ts>2006-11-20 08:33:55 -0800</creation_ts>
          <short_desc>URIs not correctly handled in XHTML document anchor tags</short_desc>
          <delta_ts>2006-11-21 13:04:06 -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>XML</component>
          <version>419.x</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>3861</dup_id>
          
          <bug_file_loc>http://bowmore.cs.st-andrews.ac.uk/safari_ampersand_bug.xhtml</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="J Ross Nicoll">jrn2005</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44914</commentid>
    <comment_count>0</comment_count>
    <who name="J Ross Nicoll">jrn2005</who>
    <bug_when>2006-11-20 08:33:55 -0800</bug_when>
    <thetext>In XHTML documents, Safari doesn&apos;t correctly handle ampersands in the href attribute of anchor tags. If ampersands are encoded (which, from what I can tell of the XHTML and XML specs, is strictly speaking wrong, but nevermind) into &amp;amp;, Safari converts them to &amp;#38; in the final URL. So (see the URL given for an example), the URL http://127.0.0.1/&amp;notarealurl becomes http://127.0.0.1/&amp;#38;notarealurl .

This might be correct behaviour according to the spec, however not encoding the ampersand results in an error (see the second page, http://bowmore.cs.st-andrews.ac.uk/safari_ampersand_bug2.xhtml ) instead. As such, it appears there&apos;s no way of using URLs with ampersands in them, in XHTML pages, under Safari!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44879</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-11-21 13:04:06 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>