https://issues.apache.org/bugzilla/show_bug.cgi?id=46751

           Summary: Can passenv variables who's name contain '(' or ')'
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Windows Server 2008 (Longhorn)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_env
        AssignedTo: [email protected]
        ReportedBy: [email protected]


In Windows Vista and Windows 2008, many registry entries are now
reg_expand_sz's which use environment variables substitution to resolve their
actual path.  And example of this is the ADODB componets.  This means that cgi
applications need to have the 'CommonProgramFiles' environment variable passed
if they attempt to instantiate these components via COM.  This is common with
PHP.

However,on 64bit platforms one must also pass the 'CommonProgramFiles(x86)'
environment variable if launching 32bit cgi programs. Apache's only allows
alphanumerics in the name of environment variables passed and converts
CommonProgramFiles(x86) to CommonProgramFiles_x86_  This means that the 32bit
client does not have the correct environment setup and com can not expand the
registry paths when attempting to instantiate components.

( and ) should be allowed in environment variable names.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to