https://issues.apache.org/bugzilla/show_bug.cgi?id=54536
Bug ID: 54536 Summary: ErrorReportValve doesn't respect HttpServletResponse.sendError(int sc, String msg) Product: Tomcat 7 Version: 7.0.30 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: th7...@hotmail.com Classification: Unclassified The changes of the ErrorSupportValve introduced in catalina-v7.0.30 does not respect HttpServletResponse.sendError(int sc, String msg) because when a msg is provided with a status which is not present in the LocalStrings.properties of the 'org.apache.catalina.valves' package, the error page won't be forwarded to the response body. This issue was triggered due to the following change which was performed at revision 1348777: The change of the report = sm.getString("http." + statusCode, message); to report = sm.getString("http." + statusCode); results in 'report==null' for custom status codes returning a response without the error page body. if (report == null) { return; } -- 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