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()
|Field||Original Value||New Value|
|Fix Version/s||2.0 [ 12319450 ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Duplicate [ 3 ]|