[BusyBox] Re: httpd applet patches

Vladimir N. Oleynik dzo at simtreas.ru
Fri Jan 10 02:44:03 UTC 2003


Glenn,

> Your URL mods may have to go or be tweaked as you cannot assume the first
> letter will always be a slash or that a slash is even present, causing your
> strrchr search to return null followed by bus error.  

I can`t reproduce this. You have realy test?

> It's true browsers
> will always send a slash but you have to code all the processing to assume
> someone is using telnet or a programmatic interface in which case *anything*
> could be specified.  

My apache give "HTTP/1.1 400 Bad Request" for all (and exiting file)
if first char not '/'.

> The other changes sound like reasonable enhancements.

Thanks.
 

--w
vodz



More information about the busybox mailing list