Hi guys, I work on the XWiki project (http://xwiki.org) and we’ve had several reports of users telling us that XWiki is not working anymore with versions of Tomcat > 7.0.69 and > 8.0.33. It works perfectly well with those versions and lower.
The issue is described in more detail at http://jira.xwiki.org/browse/XWIKI-13556 In short, I’ve tracked down one of the issues and here’s the problem we have: * We use context.getRequest().getRequestDispatcher(path).forward(…). * We are url-encoding the path. For example:path = /bin/view/Main/test%20with%20space * With Tomcat > 7.0.69 and > 8.0.33 (I’m testing with versions 8.0.36 and 7.0.59 to be precise) this generates an incoming URL of .../bin/view/Main/test%2520with%2520space in our code * With Tomcat <= 7.0.69 and <= 8.0.33 it was generating an incoming URL of .../bin/view/Main/test%20with%20space in our code Also note that with Jetty 9.2.13.v20150730 if we don’t url-encode the path passed to getRequestDispatcher(path) then Jetty generates an incoming URL of .../bin/view/Main/test with space in our code, which is of course invalid and fails. So I wanted to ask you two questions: * Would someone know the change in Tomcat that brought this difference from previous versions? * Who’s right? :) Thanks for any help -Vincent XWiki Committer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org