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:
David Jencks 2009-06-03 21:05:40 +00:00
parent 54b604d7dd
commit 7664bb8cf6
1 changed files with 1 additions and 1 deletions

View File

@ -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))