https://bz.apache.org/bugzilla/show_bug.cgi?id=61200
--- Comment #2 from Santhana Preethi <santhanapreeth...@gmail.com> --- (In reply to Mark Thomas from comment #1) > 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. Thanks for the clarification. -- 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