<?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>23009</bug_id>
          
          <creation_ts>2013-08-19 16:11:58 +0000</creation_ts>
          <short_desc>Unicode normalization can produce / code points in domain names</short_desc>
          <delta_ts>2014-01-14 11:19:59 +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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Anne">annevk</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mathias</cc>
    
    <cc>mike</cc>
    
    <cc>poccil</cc>
          
          <qa_contact>sideshowbarker+urlspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92273</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-08-19 16:11:58 +0000</bug_when>
    <thetext>E.g. &quot;℁&quot; (U+2101) gives &quot;a/s&quot;. Which means &quot;http://ex℁ample℁&quot; becomes &quot;http://exa/sample/&quot; except the host is &quot;exa/sample&quot; rather than &quot;exa&quot;...

We should probably fail host parsing if the output gives any label that contains &quot;/&quot; as a code point. Presumably by further overriding the IDNA2003 ToASCII algorithm. Other code points that would change re-parsing and would need to be added: &quot;:&quot;, &quot;\&quot;, &quot;?&quot;, &quot;#&quot;.

Source: http://krijnhoetmer.nl/irc-logs/whatwg/20130815#l-327</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92344</commentid>
    <comment_count>1</comment_count>
    <who name="Peter Occil">poccil</who>
    <bug_when>2013-08-20 15:44:04 +0000</bug_when>
    <thetext>There is no need to &quot;override&quot; the algorithm; IDNA2003 already includes a flag for that purpose: &quot;UseSTD3ASCIIRules&quot;; see section 4 of RFC3490.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92348</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-08-20 16:28:16 +0000</bug_when>
    <thetext>It does, but that excludes way more code points than implementations do and is not compatible with the web. E.g. _ (U+005F) must not be excluded.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98417</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-14 11:19:59 +0000</bug_when>
    <thetext>https://github.com/whatwg/url/commit/81cdd6704ea695e1619e76794227d2c9d10d2aa7
https://github.com/whatwg/url/commit/0eaf28c5ae63b5b0487cce484f3ce201e0d98494</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>