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

Issue #5057 - Included root context path #5058

Merged
merged 3 commits into from
Jul 20, 2020

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Jul 16, 2020

Root context path in include should be empty string.

Root context path in include should be empty string.
Copy link
Contributor

@joakime joakime left a comment

Choose a reason for hiding this comment

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

Looks pretty straight forward to me.
+1

@joakime joakime added Bug For general bugs on Jetty side Specification For all industry Specifications (IETF / Servlet / etc) labels Jul 16, 2020
@joakime joakime changed the title Jetty 9.4.x #5057 included context path Issue #5057 - Included root context path Jul 16, 2020
Copy link
Contributor

@janbartel janbartel left a comment

Choose a reason for hiding this comment

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

Just clarify the difference with ContextHandler.Context.getContextPath() (ie should one use the other?) and then I'm +1.

merged context path methods as result of review.
ServletContent.getContextPath now returns the encoded contextPath (if anybody is silly enough to have one).
@gregw gregw merged commit 65de149 into jetty-9.4.x Jul 20, 2020
lachlan-roberts added a commit that referenced this pull request Jul 23, 2020
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@joakime joakime deleted the jetty-9.4.x-5057-IncludedContextPath branch August 14, 2020 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side Specification For all industry Specifications (IETF / Servlet / etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

javax.servlet.include.context_path attribute on root context. should be empty string, but is "/"
4 participants