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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]