tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r770716 - /tomcat/trunk/java/org/apache/catalina/core/StandardHostValve.java
Date Fri, 01 May 2009 15:34:43 GMT
Author: markt
Date: Fri May  1 15:34:43 2009
New Revision: 770716

URL: http://svn.apache.org/viewvc?rev=770716&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=47050
Remove unnecessary filtering

Modified:
    tomcat/trunk/java/org/apache/catalina/core/StandardHostValve.java

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardHostValve.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardHostValve.java?rev=770716&r1=770715&r2=770716&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardHostValve.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardHostValve.java Fri May  1 15:34:43
2009
@@ -34,7 +34,6 @@
 import org.apache.catalina.connector.Request;
 import org.apache.catalina.connector.Response;
 import org.apache.catalina.deploy.ErrorPage;
-import org.apache.catalina.util.RequestUtil;
 import org.apache.catalina.util.StringManager;
 import org.apache.catalina.valves.ValveBase;
 import org.apache.juli.logging.Log;
@@ -323,7 +322,7 @@
             request.setAttribute(Globals.STATUS_CODE_ATTR,
                               new Integer(statusCode));
 
-            String message = RequestUtil.filter(response.getMessage());
+            String message = response.getMessage();
             if (message == null)
                 message = "";
             request.setAttribute(Globals.ERROR_MESSAGE_ATTR, message);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message