bug 278887 Better way to get the request uri, thanks jan
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@329 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
54b604d7dd
commit
7664bb8cf6
|
@ -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.getRequestURL().toString();//getPathInfo();
|
||||
String uri = request.getRequestURI();
|
||||
|
||||
// not mandatory or not authenticated
|
||||
if (session == null || isLoginOrErrorPage(uri))
|
||||
|
|
Loading…
Reference in New Issue