httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: Win32 PATH_INFO wrong
Date Sat, 28 Feb 1998 16:51:53 GMT
Paul Sutton wrote:
> 
> PR#1786 notes that any trailing / on a path info component is lost.
> So /cgi-bin/printenv/something/ reports that PATH_INFO is /something
> rather than /something (and PATH_TRANSLATED is similarly wrong).
> 
> This is because Window's GetFullPathName() function silently
> trashes any trailing \ component of the filename to be expanded to a full
> path. The patch below hacks around this.

Surely this should be done in os_canonical_filename() not in
sub_canonical_filename()?

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message