hixie: appcache: only allow text/cache-manifest with no parameters or with a charset=utf-8 parameter. (whatwg r6251)

hixie: appcache: only allow text/cache-manifest with no parameters or
with a charset=utf-8 parameter. (whatwg r6251)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5012&r2=1.5013&f=h
http://html5.org/tools/web-apps-tracker?from=6250&to=6251

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5012
retrieving revision 1.5013
diff -u -d -r1.5012 -r1.5013
--- Overview.html 16 Jun 2011 22:59:46 -0000 1.5012
+++ Overview.html 17 Jun 2011 00:41:29 -0000 1.5013
@@ -318,7 +318,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-16-june-2011">Editor's Draft 16 June 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-17-june-2011">Editor's Draft 17 June 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -464,7 +464,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 16 June 2011 Editor's Draft.
+  This specification is the 17 June 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -47785,11 +47785,12 @@
     flag</i> set, and let <var title="">manifest</var> be that
     resource.</p> 
     <p>If the resource is labeled with the <a href="#mime-type">MIME type</a>
-    <code><a href="#text-cache-manifest">text/cache-manifest</a></code>, parse <var title="">manifest</var> according to the <a href="#parse-a-manifest" title="parse a
-    manifest">rules for parsing manifests</a>, obtaining a list of
-    <a href="#concept-appcache-explicit" title="concept-appcache-explicit">explicit entries</a>,
-    <a href="#concept-appcache-fallback" title="concept-appcache-fallback">fallback entries</a>
-    and the <a href="#concept-appcache-fallback-ns" title="concept-appcache-fallback-ns">fallback
+    <code><a href="#text-cache-manifest">text/cache-manifest</a></code>, either with no parameters or
+    with a single parameter with the name "<code title="">charset</code>" whose value is an <a href="#ascii-case-insensitive">ASCII
+    case-insensitive</a> match for the string "<code title="">utf-8</code>", parse <var title="">manifest</var>
+    according to the <a href="#parse-a-manifest" title="parse a manifest">rules for parsing
+    manifests</a>, obtaining a list of <a href="#concept-appcache-explicit" title="concept-appcache-explicit">explicit entries</a>, <a href="#concept-appcache-fallback" title="concept-appcache-fallback">fallback entries</a> and the
+    <a href="#concept-appcache-fallback-ns" title="concept-appcache-fallback-ns">fallback
     namespaces</a> that map to them, entries for the <a href="#concept-appcache-onlinewhitelist" title="concept-appcache-onlinewhitelist">online whitelist</a>,
     and a value for the <a href="#concept-appcache-onlinewhitelist-wildcard" title="concept-appcache-onlinewhitelist-wildcard">online whitelist
     wildcard flag</a>.</p>
@@ -47858,8 +47859,9 @@
     cancels the download, or the parser for manifests fails when
     checking the magic signature), or if the server returned a
     redirect, or if the resource is labeled with a <a href="#mime-type">MIME
-    type</a> other than <code><a href="#text-cache-manifest">text/cache-manifest</a></code>, then run
-    the <a href="#cache-failure-steps">cache failure steps</a>. <a href="#refsHTTP">[HTTP]</a></p>
+    type</a> other than <code><a href="#text-cache-manifest">text/cache-manifest</a></code> or has
+    parameters that do not match the conditions listed earlier, then
+    run the <a href="#cache-failure-steps">cache failure steps</a>. <a href="#refsHTTP">[HTTP]</a></p>
 
    </li>

Received on Friday, 17 June 2011 09:51:30 UTC