https://bz.apache.org/bugzilla/show_bug.cgi?id=59065
Bug ID: 59065
Summary: catalina.sh should check for colon _after_ cygwin path
sanitization
Product: Tomcat 8
Version: 8.0.32
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Created attachment 33590
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33590&action=edit
patch for this issue
Near the top of catalina.sh are a couple of case statements which check for a
colon within the CATALINA_HOME and CATALINA_BASE environment variables.
Just after this is a section which sanitizes those same variables to UNIX
format, conditional to running under Cygwin.
The Cygwin section should come before the colon check.
In a Cygwin environment it's entirely likely that CATALINA_HOEM and/or
CATALINA_BASE will be set up using Windows semantics, which would include a
colon.
The user is then be unable to start/stop etc.
Patch attached.
--
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]