[jboss-jira] [JBoss JIRA] Resolved: (JBAS-3268) FormAuthenticator has copy/paste error
Remy Maucherat (JIRA)
jira-events at lists.jboss.org
Mon Feb 12 07:26:30 EST 2007
[ http://jira.jboss.com/jira/browse/JBAS-3268?page=all ]
Remy Maucherat resolved JBAS-3268.
----------------------------------
Resolution: Done
I had forgotten about this issue. I have applied the fix for now. I don't think it will fix any real world issue, however (the check is supposed to return true).
> FormAuthenticator has copy/paste error
> --------------------------------------
>
> Key: JBAS-3268
> URL: http://jira.jboss.com/jira/browse/JBAS-3268
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web (Tomcat) service
> Affects Versions: JBossAS-4.0.2 Final, JBossAS-4.0.3 SP1, JBossAS-4.0.4.GA
> Reporter: Anil Saldhana
> Assigned To: Anil Saldhana
> Priority: Minor
> Fix For: JBossAS-4.2.0.CR1
>
>
> The matchRequest method of the FormAuthenticator is trying to match a URI with itself as indicated at the end of the method:
> ==================================================
> // Does the request URI match?
> String requestURI = request.getRequestURI();
> if (requestURI == null)
> return (false);
> return (requestURI.equals(request.getRequestURI()));
> ==================================================
> It should be:
> ========================================================
> // Does the request URI match?
> String requestURI = request.getRequestURI();
> if (requestURI == null)
> return (false);
> return (requestURI.equals(sreq.getRequestURI()));
> =======================================================
> This affects both org.jboss.web.tomcat.security.FormAuthenticator and
> http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/authenticator/FormAuthenticator.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list