Skip to content

Commit

Permalink
Merge branch '2.5.x' into 2.6.x
Browse files Browse the repository at this point in the history
Closes gh-30046
  • Loading branch information
wilkinsona committed Mar 3, 2022
2 parents 71dd607 + 57f935f commit 9722223
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package smoketest.jetty.jsp;

import org.eclipse.jetty.server.AllowedResourceAliasChecker;
import org.eclipse.jetty.server.handler.ContextHandler;
import org.junit.jupiter.api.Test;

Expand Down Expand Up @@ -60,7 +59,7 @@ static class JettyCustomizerConfig {
JettyServerCustomizer jettyServerCustomizer() {
return (server) -> {
ContextHandler handler = (ContextHandler) server.getHandler();
handler.addAliasCheck(new AllowedResourceAliasChecker(handler));
handler.addAliasCheck((path, resource) -> true);
};
}

Expand Down

0 comments on commit 9722223

Please sign in to comment.