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

#1580 - default-web-module support #1583

Merged
merged 1 commit into from
May 5, 2014
Merged

Conversation

codeturner
Copy link
Contributor

GlassFishWebSocketHandler.isApplicationRequest() returns false if the request doesn't start with the servlet contextpath. However, if the webapp is set as the default-web-module, then the request will not start with the contextpath since GlassFish strips that from the request.

To fix, we just need to ensure that the contextpath is removed from the start of the request path, instead of requiring it to be so.

…turns false if the request doesn't start with the servlet contextpath. However, if the webapp is set as the default-web-module, then the request will not start with the contextpath since GlassFish strips that from the request.

To fix, we just need to ensure that the contextpath is removed from the start of the request path, instead of requiring it to be so.
jfarcand added a commit that referenced this pull request May 5, 2014
@jfarcand jfarcand merged commit eb3b41c into Atmosphere:master May 5, 2014
@jfarcand
Copy link
Member

jfarcand commented May 5, 2014

Thanks!

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