<?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>23963</bug_id>
          
          <creation_ts>2013-12-03 00:22:17 +0000</creation_ts>
          <short_desc>IPv4 suffix in IPv6: less than four decimal parts</short_desc>
          <delta_ts>2013-12-04 15:01:27 +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>Linux</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="Simon Sapin">simon.sapin</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>97002</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Sapin">simon.sapin</who>
    <bug_when>2013-12-03 00:22:17 +0000</bug_when>
    <thetext>http://url.spec.whatwg.org/#host-parsing

[[
While c is not the EOF code point, run these substeps:

    Let value be 0.

    If c is not an ASCII digit, parse error, return failure.

    While c is an ASCII digit, set value to value × 10 + c interpreted as decimal number and increase pointer by one.

    If value is greater than 255, parse error, return failure.

    If dots seen is less than 3 and c is not a &quot;.&quot;, parse error, return failure.

    Set piece to piece × 0x100 + value.

    If dots seen is 0 or 2, increase piece pointer by one.

    Increase pointer by one.

    If dots seen is 3 and c is not the EOF code point, parse error, return failure.

    Increase dots seen by one. 
]]

This allows less than four decimal parts (three dots), eg: http://[::168.0]/

It probably should not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97123</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-12-04 14:58:00 +0000</bug_when>
    <thetext>Is something incorrect with the dots seen check?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97125</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Sapin">simon.sapin</who>
    <bug_when>2013-12-04 15:01:27 +0000</bug_when>
    <thetext>It’s already correct, I misread it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>