Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
14.9
-
None
-
None
-
Unknown
-
Description
Steps to reproduce:
- On a local wiki, access the following URLs that does not exist: http://localhost:8080/xwiki/jcaptcha or http://localhost:8080/xwiki/asyncrenderer or http://localhost:8080/xwiki/job/randomcharstring
Result: the user gets a 500 HTTP status and a nasty error
HTTP ERROR 500 javax.servlet.ServletException: Failed to extract the Resource Reference from the URL [http://localhost:8080/xwiki/jcaptcha] URI: /xwiki/jcaptcha STATUS: 500 MESSAGE: javax.servlet.ServletException: Failed to extract the Resource Reference from the URL [http://localhost:8080/xwiki/jcaptcha] SERVLET: default CAUSED BY: javax.servlet.ServletException: Failed to extract the Resource Reference from the URL [http://localhost:8080/xwiki/jcaptcha] CAUSED BY: org.xwiki.resource.CreateResourceReferenceException: Invalid JCaptcha URL format [/] Caused by: javax.servlet.ServletException: Failed to extract the Resource Reference from the URL [http://localhost:8080/xwiki/jcaptcha] at org.xwiki.resource.servlet.ResourceReferenceHandlerServlet.getResourceReference(ResourceReferenceHandlerServlet.java:110) at org.xwiki.resource.servlet.ResourceReferenceHandlerServlet.service(ResourceReferenceHandlerServlet.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1419) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1624) at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFi
Expected result: the users receives the "The requested page could not be found." message similar to accesing http://localhost:8080/xwiki/foo