supritht / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
Other
0 stars 0 forks source link

several URL ending in a slash lead to uncaught exceptions #359

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open any of the links http://localhost:8080/backend/poem/repository/
http://localhost:8080/backend/poem/ http://localhost:8080/backend/poem
http://localhost:8080/backend/
http://localhost:8080/backend/poem/model/[valid model number[/]]

What is the expected output?

a) An *insightful* error message or
b) a redirect to a page that is very likely. E.g. for the first link,
redirect to the page without the trailing slash

What do you see instead?

Varying stack trace reports from Tomcat. NullPointerExceptions,
IllegalStateExceptions, ServletExceptions...

Original issue reported on code.google.com by steffen....@gmail.com on 11 Feb 2009 at 4:22

GoogleCodeExporter commented 9 years ago

Original comment by steffen....@gmail.com on 6 Mar 2009 at 2:31