<?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>28925</bug_id>
          
          <creation_ts>2015-07-07 18:02:06 +0000</creation_ts>
          <short_desc>Append the hyperlink suffix to the URL before resolving</short_desc>
          <delta_ts>2019-03-29 21:29:41 +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>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#following-hyperlinks</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>d</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>121861</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-07-07 18:02:06 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/semantics.html
Multipage: https://html.spec.whatwg.org/multipage/#following-hyperlinks
Complete: https://html.spec.whatwg.org/#following-hyperlinks
Referrer: https://html.spec.whatwg.org/multipage/

Comment:
Append the hyperlink suffix to the URL before resolving

Posted from: 81.82.104.124 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121862</commentid>
    <comment_count>1</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2015-07-07 18:03:02 +0000</bug_when>
    <thetext>Appending a string to a URL doesn&apos;t make sense</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125688</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-04-01 13:15:00 +0000</bug_when>
    <thetext>It seems to actually be appended to the end though, as if the URL were a string.

E.g., test

  &lt;a href=&quot;?test#test&quot;&gt;&lt;img ismap src=image&gt;&lt;/a&gt;

in the Live DOM Viewer. It&apos;s not entirely clear to me how we can fix this without breaking blob URLs and such.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125704</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-04-04 08:14:44 +0000</bug_when>
    <thetext>I guess we could specify this as either appending to the fragment (if non-null) or the query (if non-null), and otherwise setting the query to it. It&apos;s rather weird behavior, but okay...

Domenic, thoughts on that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125709</commentid>
    <comment_count>4</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2016-04-04 12:43:55 +0000</bug_when>
    <thetext>I have a hard time understanding this issue from the brief description, but isn&apos;t this something that should be entirely determined by existing browser behavior? I can&apos;t get the test from comment #2 to show me any kind of URL, but I assume you&apos;re saying the result is &quot;?test#test?123,456&quot;. In which case your algorithm sounds reasonable, although I don&apos;t think &quot;setting the query&quot; works given that the suffix contains a &quot;?&quot; already.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125711</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-04-04 12:55:51 +0000</bug_when>
    <thetext>Existing browsers don&apos;t always use URL objects, which create problems for blob URLs. Maybe we should give up on blob URLs ever working correctly though. However, that&apos;s probably a larger issue and as far as I can tell we can fix this without addressing that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129699</commentid>
    <comment_count>6</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2019-03-29 21:29:41 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/issues/4484</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>