You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2011/10/10 20:56:29 UTC
svn commit: r1181136 -
/tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java
Author: markt
Date: Mon Oct 10 18:56:29 2011
New Revision: 1181136
URL: http://svn.apache.org/viewvc?rev=1181136&view=rev
Log:
Address review comments for r1181028
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=1181136&r1=1181135&r2=1181136&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java (original)
+++ tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java Mon Oct 10 18:56:29 2011
@@ -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);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org