You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Bill Bumgarner <bb...@codefab.com> on 1997/08/15 17:50:02 UTC

mod_cgi/997: PATH_INFO translated to all lower case in environment passed to CGI

>Number:         997
>Category:       mod_cgi
>Synopsis:       PATH_INFO translated to all lower case in environment passed to CGI
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Aug 15 08:50:01 1997
>Originator:     bbum@codefab.com
>Organization:
apache
>Release:        1.3a1(windows)
>Environment:
NT 1381 pl3 (not by choice)
>Description:
The PATH_INFO environment variable contents are translated to all lower case as they are passed into any CGI-BIN program.
I.E.:
http://localhost/cgi-bin/printenv/Examples/HelloWorld
produces the following when the server resides on WinNT:
PATH_INFO = /examples/helloworld
It produces:
PATH_INFO = /Examples/HelloWorld
when the server resides on Unix (OpentStep Mach 4.2, BTW).
End result;  Apache cannot be used to server WebObjects applications under NT (likely, this will affect other similar products, as well).
>How-To-Repeat:
http://localhost/cgi-bin/printenv/FOO/BaR/bAz
...view the PATH_INFO on the resulting page...
Under NT, you will have to edit the printenv script to point to your perl binary...
>Fix:

>Audit-Trail:
>Unformatted: