Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49779
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 22 Aug 2010 22:55:26 +0000 (22:55 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 22 Aug 2010 22:55:26 +0000 (22:55 +0000)
commitc0d513a26e42098336d0922f123598d5c7b0cb8c
tree93d6395f4158835078a0dea5b76ba6c52244f55c
parentb3028e038f20ffe27e8ccaa727da28cb7a223e46
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49779
Improve handling of POST requests and FORM authentication, particularly when the user agent responds to the 302 response by repeating the POST request including a request body. Any request body provided at this point is now swallowed.
Clean up the FormAuthenticator test case and extend the coverage to include bug 49779 and the remaining combinations of request methods.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@987955 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/authenticator/FormAuthenticator.java
test/org/apache/catalina/authenticator/TestFormAuthenticator.java
test/org/apache/catalina/startup/SimpleHttpClient.java
webapps/docs/changelog.xml