From: markt Date: Mon, 10 Oct 2011 18:56:29 +0000 (+0000) Subject: Address review comments for r1181028 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e07583b79c771081a13d96a2834a9ca886cbb194;p=tomcat7.0 Address review comments for r1181028 git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1181136 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/authenticator/FormAuthenticator.java b/java/org/apache/catalina/authenticator/FormAuthenticator.java index 751028e82..0ce63036e 100644 --- a/java/org/apache/catalina/authenticator/FormAuthenticator.java +++ b/java/org/apache/catalina/authenticator/FormAuthenticator.java @@ -371,8 +371,7 @@ public class FormAuthenticator if (log.isDebugEnabled()) { log.debug(sm.getString("formAuthenticator.forwardLogin", request.getRequestURI(), request.getMethod(), - config.getLoginPage(), - context.getServletContext().getContextPath())); + config.getLoginPage(), context.getName())); } // Always use GET for the login page, regardless of the method used @@ -623,7 +622,7 @@ public class FormAuthenticator body.append(buffer, 0, bytesRead); } - // Only save the request body if there is somethign to save + // Only save the request body if there is something to save if (body.getLength() > 0) { saved.setContentType(request.getContentType()); saved.setBody(body);