[jetty-dev] [jira] (JETTY-1525) org.eclipse.jetty.server.Server returns 200 for invalid path
"Justin Kibler (JIRA)" <[email protected]> Mon, 2 Jul 2012 14:40:21 -0500 (CDT)
| Newsgroups | gmane.comp.java.jetty.general |
|---|---|
| Message-ID | <442792182.19595.1341258021286.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> |
Justin Kibler updated JETTY-1525 org.eclipse.jetty.server.Server returns 200 for invalid path Attached is a test driver that you can use to reproduce the problem. I think the issue is specific to using a ContextHandlerCollection. I ran this test driver and then opened a web browser to three locations: 1. localhost:8080/test/handler 2. localhost:8080/test/handler2 3. localhost:8080/invalid/handler2 The third one returns 200. Here are the logs I got using this test driver: ... 2012-07-02 15:30:13.678:DBUG:oejs.Server:RESPONSE /test/handler 200 ... 2012-07-02 15:30:39.530:DBUG:oejs.Server:RESPONSE /test/handler2 404 ... 2012-07-02 15:31:15.036:DBUG:oejs.Server:RESPONSE /invalid/handler2 200 ... Change By: Justin Kibler (02/Jul/12 2:38 PM) Attachment: JettyServerTest.java This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators . For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email