tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r797168 - /tomcat/trunk/java/org/apache/jasper/servlet/JspServlet.java
Date Thu, 23 Jul 2009 17:48:56 GMT
Author: markt
Date: Thu Jul 23 17:48:56 2009
New Revision: 797168

URL: http://svn.apache.org/viewvc?rev=797168&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46907 
Debug logging should not cause the input stream to be swallowed
There are better, less intrusive ways to read request bodies

Modified:
    tomcat/trunk/java/org/apache/jasper/servlet/JspServlet.java

Modified: tomcat/trunk/java/org/apache/jasper/servlet/JspServlet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/servlet/JspServlet.java?rev=797168&r1=797167&r2=797168&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/servlet/JspServlet.java (original)
+++ tomcat/trunk/java/org/apache/jasper/servlet/JspServlet.java Thu Jul 23 17:48:56 2009
@@ -20,7 +20,6 @@
 import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.lang.reflect.Constructor;
-import java.util.Enumeration;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletContext;
@@ -257,13 +256,6 @@
             log.debug("\t        RealPath: " + context.getRealPath(jspUri));
             log.debug("\t      RequestURI: " + request.getRequestURI());
             log.debug("\t     QueryString: " + request.getQueryString());
-            log.debug("\t  Request Params: ");
-            Enumeration<String> e = request.getParameterNames();
-            while (e.hasMoreElements()) {
-                String name = e.nextElement();
-                log.debug("\t\t " + name + " = " 
-                          + request.getParameter(name));
-            }
         }
 
         try {



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


Mime
View raw message