www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gratton <mgrat...@wpine.com>
Subject os-windows/3038: PATH_TRANSLATED is shifted to lower case from mixed case
Date Mon, 21 Sep 1998 16:58:32 GMT

>Number:         3038
>Category:       os-windows
>Synopsis:       PATH_TRANSLATED is shifted to lower case from mixed case
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Sep 21 11:10:01 PDT 1998
>Last-Modified:
>Originator:     mgratton@wpine.com
>Organization:
apache
>Release:        1.3.1 (Win32)
>Environment:
Windows NT Server 4.0 SP3
Binary Distribution with no modifications.
>Description:
PATH_TRANSLATED is shifted to lower case from mixed case.  This is normally
not a problem on Windows, however the interpreter i am using (JRE, Java Runtime)
does care as when i go to run the java class file, PATH_TRANSLATED says foo.class
when it should really be Foo.class.  The change in case yields java inoperable.

An snippet of the environment for this script is shown here:
SERVER_PROTOCOL=HTTP/1.0
REQUEST_METHOD=GET
QUERY_STRING=showLogin=1
REQUEST_URI=/wpscripts/whitepine.pub.UserAuthentication.class?showLogin=1
SCRIPT_NAME=/wpscripts/runcgi.bat
PATH_INFO=/wpscripts/whitepine.pub.UserAuthentication.class
PATH_TRANSLATED=c:\temp\runcgi\whitepine.pub.userauthentication.class

Notice PATH_TRANSLATED is all lower case but none of the other environment strings are.
>How-To-Repeat:
http://portnoy.wpine.com:7690/showbug/whitepine.pub.UserAuthentication.class?showLogin=1

I hope this works, sometimes our firewall lets stuff through and sometimes not.
Also this is my development machine and Apache may or may not be running (sorry!).
If not then simply create a mixed case cgi script name, make a call to it and
notice the PATH_TRANSLATED variable is in all lower case.
>Fix:
Dont really have suggested way to fix, just would like to see it fixed :)
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]




Mime
View raw message