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

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Building up a command line from environment variables that contain characters
with special meanings (space, pipe, equals, double quote etc.) can be extremely
tricky. There are various problems and there are several workarounds. Some of
these workarounds only apply to 'simple' cases and issues will still be
observed with more complex cases.

What you are seeing is a result of the change in Tomcat to better handle the
more complex cases. Unfortunately this means the simple workaround (quoting the
value) you were using for including the pipe character no longer works and you
need to use a more complex solution where you quote the whole assignment and
escape the pipe character. Something like this:

SET
"CATALINA_OPTS=-Dhttp.nonProxyHosts=localhost^|127.0.0.1|^10.80.*^|10.0.0.*"

This solution should work with or without the change in 8.0.14.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to