[whatwg] Section 5.7.3.3 Parsing cache manifests
timeless
timeless at gmail.com
Tue Dec 30 08:09:13 PST 2008
On Tue, Dec 30, 2008 at 10:56 AM, Alexey Proskuryakov <ap at webkit.org> wrote:
> 1. The signature of manifest is "^<BOM>?CACHE MANIFEST[ \t]*$". Since
> arbitrary whitespace is allowed at the end, it is not possible to verify it
> with a simple binary comparison, yet it unnecessarily forbids e.g. comments
> at the end.
>
> I suggest changing the signature to "^<BOM>?CACHE MANIFEST" - then it will
> be easier to verify, and it will be possible to add comments at the end.
> This is how we have it in WebKit now, and changing the check to the more
> strict HTML5 one may affect existing clients.
this means we could never do:
"^<BOM>?CACHE MANIFEST2"
More information about the whatwg
mailing list