Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2014-06-10 05:28:07 -0400
committerGreg Wilkins2014-06-10 05:28:07 -0400
commitb38bae36f1fc7795b0ffcb638dd7b348d087f560 (patch)
tree16a6990272e44fbf5995c4571c19acc92102e9e9 /jetty-security/src/main/java/org/eclipse
parent5883123d07659ebdbf0077ab794c0944b3a5f4e4 (diff)
downloadorg.eclipse.jetty.project-b38bae36f1fc7795b0ffcb638dd7b348d087f560.tar.gz
org.eclipse.jetty.project-b38bae36f1fc7795b0ffcb638dd7b348d087f560.tar.xz
org.eclipse.jetty.project-b38bae36f1fc7795b0ffcb638dd7b348d087f560.zip
moved http/1.1 isms out of HttpChannel into HttpConnection
Diffstat (limited to 'jetty-security/src/main/java/org/eclipse')
-rw-r--r--jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java b/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java
index dcfea4168c..790d544536 100644
--- a/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java
+++ b/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java
@@ -236,8 +236,7 @@ public class FormAuthenticator extends LoginAuthenticator
//restore the original request's method on this request
if (LOG.isDebugEnabled()) LOG.debug("Restoring original method {} for {} with method {}", method, juri,httpRequest.getMethod());
Request base_request = HttpChannel.getCurrentHttpChannel().getRequest();
- HttpMethod m = HttpMethod.fromString(method);
- base_request.setMethod(m,m.asString());
+ base_request.setMethod(method);
}
/* ------------------------------------------------------------ */

Back to the top