[
https://issues.apache.org/jira/browse/MTOMCAT-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Lamy updated MTOMCAT-129:
---------------------------------
Fix Version/s: 2.0
> Regression of MTOMCAT-54 in tomcat7-maven-plugin
> ------------------------------------------------
>
> Key: MTOMCAT-129
> URL: https://issues.apache.org/jira/browse/MTOMCAT-129
> Project: Apache Tomcat Maven Plugin
> Issue Type: Bug
> Components: tomcat7
> Affects Versions: 2.0-beta-1
> Reporter: Justin Wunderle
> Assignee: Olivier Lamy
> Fix For: 2.0
>
>
> In r1180428, the code that fixed MTOMCAT-54 was removed, so inside a webapp
> that is deployed at "/", request.getContextPath() will return "/" when it
> should return "".
> The bug is that, in general, trailing slashes on the path variable should be
> removed (it's not really a special case for "/", though it causes the worst
> effects in that case)
> See this link for the rules for how the contextPath should look:
> http://tomcat.apache.org/tomcat-7.0-doc/servletapi/javax/servlet/http/HttpServletRequest.html#getContextPath()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]