You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/08/01 10:25:40 UTC

[Bug 55336] Cannot start apache tomcat 7.0 if server path contains two consecutive spaces.

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

--- Comment #1 from Rainer Jung <ra...@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