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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22048</bug_id>
          
          <creation_ts>2013-05-15 13:15:13 +0000</creation_ts>
          <short_desc>relative path state and drive letter using vertical bar</short_desc>
          <delta_ts>2013-07-03 12:04:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>URL</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</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>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="NARUSE, Yui">naruse</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>sideshowbarker+urlspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87723</commentid>
    <comment_count>0</comment_count>
    <who name="NARUSE, Yui">naruse</who>
    <bug_when>2013-05-15 13:15:13 +0000</bug_when>
    <thetext>http://url.spec.whatwg.org/#relative-path-state

Though URL file:///c| looks valid in this spec (see also http://msdn.microsoft.com/en-us/library/aa767731(v=vs.85).aspx ), it raises parse error. url parser&apos;s relative path state&apos;s &quot;If c is not a URL code point and not &quot;%&quot;, parse error.&quot; denies &quot;|&quot; because URL code points doesn&apos;t include &quot;|&quot;. It should allow &quot;|&quot;.

A fix can be change relative path state&apos;s clause 4 as following and remove duplicating 1.4.1.

* If url&apos;s scheme is &quot;file&quot;, url&apos;s path is the empty list, buffer consists of one code point, of which the first is an ASCII alpha, and c is &quot;|&quot;, append &quot;:&quot; to buffer.
* Otherwise, if c is not a URL code point and not &quot;%&quot;, parse error.
* Otherwise, if c is &quot;%&quot; and remaining does not start with two ASCII hex digits, parse error.
* Otherwise, utf-8 percent encode c using the default encode set, and append the result to buffer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90218</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-07-03 09:54:52 +0000</bug_when>
    <thetext>Given that you can write it using : instead (and it will be normalized to that) I think giving an error for that situation is fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90221</commentid>
    <comment_count>2</comment_count>
    <who name="NARUSE, Yui">naruse</who>
    <bug_when>2013-07-03 12:04:16 +0000</bug_when>
    <thetext>Ah, yes.
That &quot;parse error&quot; only notifies it is error, and it doesn&apos;t abort process.
It looks I did misunnderstand.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>