Skip to content

Commit

Permalink
Issue #11434 - resolve differences in AliasCheckerSymlinkTests
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 Aug 28, 2024
1 parent 1bf0748 commit 178a795
Show file tree
Hide file tree
Showing 20 changed files with 396 additions and 528 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1074,6 +1074,12 @@ public boolean handle(Request request, Response response, Callback callback) thr

protected boolean handleByContextHandler(String pathInContext, ContextRequest request, Response response, Callback callback)
{
if (isProtectedTarget(pathInContext))
{
Response.writeError(request, response, callback, HttpStatus.NOT_FOUND_404, null);
return true;
}

return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ protected boolean handleByContextHandler(String pathInContext, ContextRequest re
return true;
}

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

@Override
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.

Loading

0 comments on commit 178a795

Please sign in to comment.