Skip to content

Commit

Permalink
Merge PR #12208 to EE11
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
  • Loading branch information
lachlan-roberts committed Sep 5, 2024
1 parent a5727d8 commit 0dc9ae7
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 344 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
import jakarta.servlet.descriptor.TaglibDescriptor;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpSessionActivationListener;
import jakarta.servlet.http.HttpSessionAttributeListener;
import jakarta.servlet.http.HttpSessionBindingListener;
Expand Down Expand Up @@ -1184,11 +1183,8 @@ protected ContextResponse wrapResponse(ContextRequest request, Response response
protected boolean handleByContextHandler(String pathInContext, ContextRequest request, Response response, Callback callback)
{
boolean initialDispatch = request instanceof ServletContextRequest;
if (initialDispatch && isProtectedTarget(pathInContext))
{
Response.writeError(request, response, callback, HttpServletResponse.SC_NOT_FOUND, null);
return true;
}
if (!initialDispatch)
return false;

return super.handleByContextHandler(pathInContext, request, response, callback);
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 0dc9ae7

Please sign in to comment.