httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@organic.com>
Subject Re: BUG in util_script.c (fwd)
Date Mon, 29 Jul 1996 21:33:34 GMT
On Mon, 29 Jul 1996, Ben Laurie wrote:

> Well, one has to agree, there is almost certainly a bug somewhere. But where?

One does have to agree, and the source of the bug is simple:

The path info of the URL and the filename are assumed to be the same.
However, in this case (to use his example) the path info the URL is
/test-cgi, but the path info of the filename is /ivan/test-cgi. r->info is
set to /ivan/test-cgi, which is 13 characters long, r->uri is shorted by
13 characters, to /iva.

However, I can't seem to think of a fix. At least not offhand.

-- Alexei Kosut <akosut@organic.com>            The Apache HTTP Server 
   http://www.nueva.pvt.k12.ca.us/~akosut/      http://www.apache.org/


Mime
View raw message