tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1240842 - /tomcat/trunk/java/org/apache/catalina/core/StandardHostValve.java
Date Sun, 05 Feb 2012 21:54:31 GMT
Author: markt
Date: Sun Feb  5 21:54:30 2012
New Revision: 1240842

URL: http://svn.apache.org/viewvc?rev=1240842&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=52586
Remove hack that changes path info when forwarding to an error page

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=1240842&r1=1240841&r2=1240842&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardHostValve.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardHostValve.java Sun Feb  5 21:54:30
2012
@@ -420,8 +420,6 @@ final class StandardHostValve extends Va
             container.getLogger().debug("Processing " + errorPage);
         }
 
-        request.setPathInfo(errorPage.getLocation());
-
         try {
             // Forward control to the specified location
             ServletContext servletContext =



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


Mime
View raw message