[html5] r4329 - [giow] (2) Drop #fragments from Referer headers. Fixing http://www.w3.org/Bugs/P [...]

whatwg at whatwg.org whatwg at whatwg.org
Sun Oct 25 00:31:40 PDT 2009


Author: ianh
Date: 2009-10-25 00:31:36 -0700 (Sun, 25 Oct 2009)
New Revision: 4329

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Drop #fragments from Referer headers.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8044

Modified: complete.html
===================================================================
--- complete.html	2009-10-25 07:22:18 UTC (rev 4328)
+++ complete.html	2009-10-25 07:31:36 UTC (rev 4329)
@@ -5228,8 +5228,13 @@
      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><fragment></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>
 
    <li>
@@ -6924,10 +6929,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><fragment></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

Modified: index
===================================================================
--- index	2009-10-25 07:22:18 UTC (rev 4328)
+++ index	2009-10-25 07:31:36 UTC (rev 4329)
@@ -5038,8 +5038,13 @@
      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><fragment></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>
 
    <li>
@@ -6734,10 +6739,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><fragment></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

Modified: source
===================================================================
--- source	2009-10-25 07:22:18 UTC (rev 4328)
+++ source	2009-10-25 07:31:36 UTC (rev 4329)
@@ -4721,6 +4721,11 @@
 
     </dl>
 
+    <p>Remove any <span title="url-fragment"><fragment></span>
+    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.</p></li>
@@ -6658,10 +6663,11 @@
   of the <span>source browsing context</span> <em>at the time the
   navigation was started</em> (that is, the page which <span
   title="navigate">navigated</span> the <span>browsing context</span>
-  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
-  <span>hyperlink</span> with a <code
+  to the current document), with any <span
+  title="url-fragment"><fragment></span> 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 <span>hyperlink</span> with a <code
   title="rel-noreferrer">noreferrer</code> keyword.</p>
 
   <p class="note">In the case of HTTP, the <code




More information about the Commit-Watchers mailing list