W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2008

Re: Leading zeroes in 1*DIGIT productions

From: Jamie Lokier <jamie@shareable.org>
Date: Fri, 26 Dec 2008 22:35:23 +0000
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Jeff Walden <jwalden@MIT.EDU>, ietf-http-wg@w3.org
Message-ID: <20081226223523.GA27924@shareable.org>

Julian Reschke wrote:
> >JavaScript than of a deficiency in the specification, but code which 
> >properly processes /most/ Content-Length values may not necessarily 
> >properly process /all/ such values, in particular numbers which have the 
> >format of octal numbers with leading zeroes.  I think explicitly noting 
> >leading zeroes in accompanying prose makes it more likely that care will 
> >be taken in processing such values.
> 
> Disagreed.
> 
> First of all, anybody who makes this mistake is likely to find out 
> *very* soon.

Why do you say "very soon"?  Content-Length with leading zeros is not
seen much if at all in the wild, is it?

-- Jamie
Received on Friday, 26 December 2008 22:36:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:50:58 GMT