Re: Leading zeroes in 1*DIGIT productions

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 UTC