Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAPEDWARF-225 Login url (/_ah/login) returns 404 when app not deployed as ROOT.war #224

Merged
merged 3 commits into from
Feb 18, 2014

Conversation

luksa
Copy link
Member

@luksa luksa commented Feb 18, 2014

No description provided.

@alesj alesj merged commit 733b618 into capedwarf:master Feb 18, 2014
@@ -36,7 +36,8 @@ public void doFilter(ServletRequest servletRequest, ServletResponse servletRespo

private boolean isChannelRequest(ServletRequest servletRequest) {
HttpServletRequest request = (HttpServletRequest) servletRequest;
return request.getRequestURI().startsWith("/_ah/channel");
String path = request.getRequestURI().substring(request.getContextPath().length());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about making this an util method -- you already used it here 3 times?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants