nacho 01/09/23 11:17:48 Modified: src/share/org/apache/tomcat/modules/generators ErrorHandler.java Log: Avoiding output when javax.servlet.error.message is null. Revision Changes Path 1.19 +5 -3 jakarta-tomcat/src/share/org/apache/tomcat/modules/generators/ErrorHandler.java Index: ErrorHandler.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/generators/ErrorHandler.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- ErrorHandler.java 2001/09/14 05:02:03 1.18 +++ ErrorHandler.java 2001/09/23 18:17:48 1.19 @@ -697,9 +697,11 @@ .append("</h2>"); } - buf.append("\r\n<b>") - .append(msg) - .append("</b><br>\r\n"); + if (msg != null){ + buf.append("\r\n<b>") + .append(msg) + .append("</b><br>\r\n"); + } // add unavailable time if present if ( sc == 503) {
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... costin
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... costin
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... nacho
- RE: cvs commit: jakarta-tomcat/src/share/org/apache/tomc... Ignacio J. Ortega
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... larryi
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... larryi
- RE: cvs commit: jakarta-tomcat/src/share/org/apache/tomc... Ignacio J. Ortega
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... larryi
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... costin
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... costin
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... nacho
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... keith
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... keith
- FW: cvs commit: jakarta-tomcat/src/share/org/apache/tomc... Keith Wannamaker
- Re: cvs commit: jakarta-tomcat/src/share/org/apache... Remy Maucherat
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... larryi
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... larryi
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... billbarker
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... larryi
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... billbarker
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/m... billbarker