Author: markt
Date: Wed Oct 19 18:17:09 2011
New Revision: 1186379
URL: http://svn.apache.org/viewvc?rev=1186379&view=rev
Log:
Fix the regression caused by r987955
Modified:
tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java
Modified:
tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java?rev=1186379&r1=1186378&r2=1186379&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java
(original)
+++ tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java
Wed Oct 19 18:17:09 2011
@@ -562,7 +562,7 @@ public class FormAuthenticator
// Swallow any request body since we will be replacing it
byte[] buffer = new byte[4096];
- InputStream is = request.getInputStream();
+ InputStream is = request.createInputStream();
while (is.read(buffer) >= 0) {
// Ignore request body
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]