hixie: Drop #fragments from Referer headers. (whatwg r4329)

hixie: Drop #fragments from Referer headers. (whatwg r4329)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3464&r2=1.3465&f=h
http://html5.org/tools/web-apps-tracker?from=4328&to=4329

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3464
retrieving revision 1.3465
diff -u -d -r1.3464 -r1.3465
--- Overview.html 25 Oct 2009 07:08:47 -0000 1.3464
+++ Overview.html 25 Oct 2009 07:18:04 -0000 1.3465
@@ -4561,7 +4561,12 @@
      browsing context">browsing context</a> of the <a href="#first-script">first
      script</a>.</dd>
 
-    </dl></li>
+    </dl><p>Remove any <a href="#url-fragment" title="url-fragment">&lt;fragment&gt;</a>
+    component from the generated <i>address of the resource from which
+    Request-URIs are obtained</i>.</p> <!-- RFC2616 says "The URI MUST
+    NOT include a fragment." (section 14.36) -->
+
+   </li>
 
    <li><p>Perform the remaining steps asynchronously.</li>
 
@@ -6098,10 +6103,10 @@
   address">current address</a> of the <a href="#active-document">active document</a>
   of the <a href="#source-browsing-context">source browsing context</a> <em>at the time the
   navigation was started</em> (that is, the page which <a href="#navigate" title="navigate">navigated</a> the <a href="#browsing-context">browsing context</a>
-  to the current document), or the empty string if there is no such
-  originating page, or if the UA has been configured not to report
-  referrers in this case, or if the navigation was initiated for a
-  <a href="#hyperlink">hyperlink</a> with a <code title="rel-noreferrer"><a href="#link-type-noreferrer">noreferrer</a></code> keyword.</p>
+  to the current document), with any <a href="#url-fragment" title="url-fragment">&lt;fragment&gt;</a> component removed; or
+  the empty string if there is no such originating page, or if the UA
+  has been configured not to report referrers in this case, or if the
+  navigation was initiated for a <a href="#hyperlink">hyperlink</a> with a <code title="rel-noreferrer"><a href="#link-type-noreferrer">noreferrer</a></code> keyword.</p>
 
   <p class="note">In the case of HTTP, the <code title="dom-document-referrer"><a href="#dom-document-referrer">referrer</a></code> IDL attribute will
   match the <code title="http-referer">Referer</code> (sic) header

Received on Sunday, 25 October 2009 07:18:43 UTC