-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 #7059 - prevent an internal NPE in AllowedResourceAliasChecker doStart (9.4) #7081
Conversation
…doStart Signed-off-by: Lachlan Roberts <[email protected]>
Signed-off-by: Lachlan Roberts <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets be more friendly to users.
jetty-server/src/main/java/org/eclipse/jetty/server/AllowedResourceAliasChecker.java
Outdated
Show resolved
Hide resolved
jetty-server/src/main/java/org/eclipse/jetty/server/SymlinkAllowedResourceAliasChecker.java
Show resolved
Hide resolved
Signed-off-by: Lachlan Roberts <[email protected]>
jetty-server/src/main/java/org/eclipse/jetty/server/AllowedResourceAliasChecker.java
Show resolved
Hide resolved
…ve been added. Signed-off-by: Lachlan Roberts <[email protected]>
I have added changes suggested by @joakime. This introduces a behaviour change. The following code: ContextHandler context = new ContextHandler();
context.setResourceBase(...);
context.addAliasCheck(customAliasCheck);
context.start(); Previously resulted in |
Signed-off-by: Lachlan Roberts <[email protected]>
Issue #7059
Backport of changes from PR #7076 to
9.4.x
branch.