https://bz.apache.org/bugzilla/show_bug.cgi?id=61200
Mark Thomas <ma...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #1 from Mark Thomas <ma...@apache.org> --- Thanks for the test case. It makes it much, much easier to work with a bug report that includes a test case. This particular report is invalid. The test set-up does this: String url = "/a/" + URLEncoder.encode("Test Query", "UTF-8"); This results in a value for url of "/a/Test+query". And there lies the problem. It is only valid to encode a ' ' with '+' in a query string so in this test case the '+' gets treated as a literal '+' and is correctly encoded to %2B. If the test is modified so url is correctly encoded: String url = "/a/Test%20Query"; the test passes as expected. -- 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