tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49657] New: In CGI Mode, "executable" full path with spaces does not work
Date Wed, 28 Jul 2010 07:45:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49657

           Summary: In CGI Mode, "executable" full path with spaces does
                    not work
           Product: Tomcat 6
           Version: 6.0.29
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jean.de.ratuld@atempo.com


In CGI mode, if you specify a full path for a command, containing blank, 
it does not work

example :
       <init-param>
            <param-name>executable</param-name>
            <param-value>c:\Tools\mycommand</param-value>
        </init-param>
is OK but

       <init-param>
            <param-name>executable</param-name>
            <param-value>c:\Program Files\mycommand</param-value>
          </init-param>
does not work well with error like


7 juil. 2010 15:51:52 org.apache.catalina.core.ApplicationContext log
INFO: cgi: runCGI (stderr):'C:\Program' is not recognized as an internal or
external command,

Need probably to add " in for cgiExcecutable in CGIServlet.java,  like it is
done
for CmdAndArgs

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message