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
This commit is contained in:
parent
ba6ae103b1
commit
54b604d7dd
|
@ -148,7 +148,7 @@ public class FormAuthenticator extends LoginAuthenticator
|
||||||
HttpServletRequest request = (HttpServletRequest)req;
|
HttpServletRequest request = (HttpServletRequest)req;
|
||||||
HttpServletResponse response = (HttpServletResponse)res;
|
HttpServletResponse response = (HttpServletResponse)res;
|
||||||
HttpSession session = request.getSession(mandatory);
|
HttpSession session = request.getSession(mandatory);
|
||||||
String uri = request.getPathInfo();
|
String uri = request.getRequestURL().toString();//getPathInfo();
|
||||||
|
|
||||||
// not mandatory or not authenticated
|
// not mandatory or not authenticated
|
||||||
if (session == null || isLoginOrErrorPage(uri))
|
if (session == null || isLoginOrErrorPage(uri))
|
||||||
|
|
Loading…
Reference in New Issue