Address review comments for r1181028
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 10 Oct 2011 18:56:29 +0000 (18:56 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 10 Oct 2011 18:56:29 +0000 (18:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1181136 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/authenticator/FormAuthenticator.java

index 751028e..0ce6303 100644 (file)
@@ -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);