tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55336] Cannot start apache tomcat 7.0 if server path contains two consecutive spaces.
Date Thu, 01 Aug 2013 08:25:40 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55336

--- Comment #1 from Rainer Jung <rainer.jung@kippdata.de> ---
Adding analysis reported by Ognjen Blagojevic on tomcat users here:

On several places in catalina.sh, there is eval command which seems to be
inproperly escaped. E.g, if I want to pass parameter with two consecutive
spaces using eval, this is the wrong way to do it:

  eval echo \"foo  bar\" (prints: foo bar)

This is the right way to do it:

  eval echo "\"foo  bar\"" (prints: foo  bar)

I believe that catalina.sh should quote every parameter pass to eval in order
to prevent whitespace collapse.

-- 
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