Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Jencks2009-06-02 23:47:26 +0000
committerDavid Jencks2009-06-02 23:47:26 +0000
commit54b604d7dd59a2960695fe43f18d5366c24c739b (patch)
treea0e6b6f81f84029d77d3625a82b1d35ceac964d7
parentba6ae103b108ace692ed6f8e8c7b82797e5b27ac (diff)
downloadorg.eclipse.jetty.project-54b604d7dd59a2960695fe43f18d5366c24c739b.tar.gz
org.eclipse.jetty.project-54b604d7dd59a2960695fe43f18d5366c24c739b.tar.xz
org.eclipse.jetty.project-54b604d7dd59a2960695fe43f18d5366c24c739b.zip
Bug 278887 pathInfo is no longer the entire requestURL in authenticator
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@328 7e9141cc-0065-0410-87d8-b60c137991c4
-rw-r--r--jetty-security/src/main/java/org/eclipse/jetty/security/authentication/FormAuthenticator.java2
1 files changed, 1 insertions, 1 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 75d1f334b0..194888c65a 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
@@ -148,7 +148,7 @@ public class FormAuthenticator extends LoginAuthenticator
HttpServletRequest request = (HttpServletRequest)req;
HttpServletResponse response = (HttpServletResponse)res;
HttpSession session = request.getSession(mandatory);
- String uri = request.getPathInfo();
+ String uri = request.getRequestURL().toString();//getPathInfo();
// not mandatory or not authenticated
if (session == null || isLoginOrErrorPage(uri))

Back to the top