https://issues.apache.org/bugzilla/show_bug.cgi?id=56831
Mark Thomas <ma...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #5 from Mark Thomas <ma...@apache.org> --- I can confim that this is not a Tomcat bug. The issue is triggered by HttpServletRequest.getContextPath() returning "/simple%2dapp" rather than "/simple-app". I have confirmed this by: 1. Confirming I can reproduce the issue using the provided steps. 2. Using a debugger, change the return value of getContextPath() from "/simple%2dapp" to "/simple-app" and confirming that the exception no longer occurs. The Javadoc for getContextPath() [1] is clear. The container does NOT decode this method. The simplest fix is probably for RichFaces to use ServletContext.getContextPath() That you don't see this bug on other containers suggests that those containers are not following the specification for HttpServletRequest.getContextPath(). [1] http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpServletRequest.html#getContextPath%28%29 -- 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