httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@wired.com>
Subject Re: trailing slash bug
Date Tue, 04 Apr 1995 19:17:33 GMT
On Tue, 4 Apr 1995, Robert S. Thau wrote:
> This time for sure... [quoth Bullwinkle...]
> 
> *** http_mime.c	Sun Apr  2 18:14:22 1995
> --- ../http_mime.c	Tue Apr  4 14:52:27 1995

...Almost.  Now there's no PATH_INFO, the SCRIPT_NAME has the trailing 
slash - though this is also true for the regular 0.4 for all CGI 
requests, so maybe that's a separate bug elsewhere:

http://host/cgi-bin/printenv/extra-path

Gives:

SCRIPT_NAME = /cgi-bin/printenv
PATH_INFO = /extra-path

but

http://host/cgi-bin/printenv/

Gives:

SCRIPT_NAME = /cgi-bin/printenv/
(and no PATH_INFO variable)

when it should be

SCRIPT_NAME = /cgi-bin/printenv
PATH_INFO = /

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@hotwired.com  brian@hyperreal.com  http://www.hotwired.com/Staff/brian/


Mime
View raw message