[PATCH] httpd: make Accept-Encoding parsing more robust

Denys Vlasenko vda.linux at googlemail.com
Fri Jul 30 01:40:26 UTC 2010


On Tuesday 27 July 2010 10:46, Peter Korsgaard wrote:
> >>>>> "Denys" == Denys Vlasenko <vda.linux at googlemail.com> writes:
> 
>  Denys> On Sunday 25 July 2010 10:58, Peter Korsgaard wrote:
>  >> From: Peter Korsgaard <peter.korsgaard at barco.com>
>  >> 
>  >> Handle missing spaces between options and detect the legacy x-gzip
>  >> encoding as well.
> 
>  Denys> Applied, thanks!
> 
> Thanks. Why did you change my strcasestr() to a strstr()? While I
> haven't seen any browsers sending Accept-Encoding: with funky
> up/lowercasing, I don't see anything explicit in the spec to disallow
> it.

Perhaps as speed optimization... I can revert it back if you think
it's that important.
-- 
vda


More information about the busybox mailing list