<?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>21980</bug_id>
          
          <creation_ts>2008-10-30 12:29:58 -0700</creation_ts>
          <short_desc>KURL doesn&apos;t normalize the number of slashes after the scheme</short_desc>
          <delta_ts>2023-05-22 03:46:08 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>37641</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Brett Wilson (Google)">brettw</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>annevk</cc>
    
    <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97145</commentid>
    <comment_count>0</comment_count>
    <who name="Brett Wilson (Google)">brettw</who>
    <bug_when>2008-10-30 12:29:58 -0700</bug_when>
    <thetext>&quot;http:apple.com&quot; and &quot;http:/apple.com&quot; both load and display the incorrect URL in the URL bar.

&quot;http:///apple.com&quot; is converted to &quot;http:/apple.com&quot; for reasons I don&apos;t understand (maybe NSURL does this).

In IE, all of these loads fail. In Firefox, they are all converted to &quot;http://apple.com&quot;. Firefox&apos;s behavior is better. For known hierarchical schemes such as http, the URL should be treated as hierarchical no matter how many slashes there are, and normalized accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97234</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-10-31 03:36:51 -0700</bug_when>
    <thetext>Just a side note. This may also be related to file: URLs behavior. Last I checked (long ago), it seemed quite funky in Windows Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1956897</commentid>
    <comment_count>2</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-05-22 03:46:08 -0700</bug_when>
    <thetext>KURL is gone, but we also normalize these correctly now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>