mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
. Fix for AWC-402
- More resilient code git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2370 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -143,7 +143,7 @@ public abstract class BaseServlet extends HttpServlet
|
||||
// also save the requested URL so the login page knows where to redirect too later
|
||||
res.sendRedirect(req.getContextPath() + FACES_SERVLET + Application.getLoginPage(sc));
|
||||
String uri = req.getRequestURI();
|
||||
if (uri.indexOf(BaseServlet.FACES_SERVLET) != -1)
|
||||
if (uri.indexOf(req.getContextPath() + FACES_SERVLET) != -1)
|
||||
{
|
||||
// if we find a JSF servlet reference in the URI then we need to check if the rest of the
|
||||
// JSP specified is valid for a redirect operation after Login has occured.
|
||||
|
Reference in New Issue
Block a user