W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] Section Parsing cache manifests

From: timeless <timeless@gmail.com>
Date: Tue, 30 Dec 2008 18:09:13 +0200
Message-ID: <26b395e60812300809l66476867k893f72e0f60ac2ee@mail.gmail.com>
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:
Received on Tuesday, 30 December 2008 08:09:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC