NihalJain commented on code in PR #6783:
URL: https://github.com/apache/hbase/pull/6783#discussion_r2016764523
##########
hbase-http/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java:
##########
@@ -796,7 +792,7 @@ private void configureAliasChecks(ServletContextHandler
context, boolean shouldS
if
(context.getAliasChecks().stream().anyMatch(aliasCheckerClass::isInstance)) {
LOG.debug("{} is already part of alias check list",
aliasCheckerClass.getName());
} else {
- context.addAliasCheck(new SymlinkAllowedResourceAliasChecker(context));
+ context.addAliasCheck(new
SymlinkAllowedResourceAliasChecker(context.getCoreContextHandler()));
Review Comment:
Fixed by using canonical paths
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]