Skip to content

Commit 9ea3587

Browse files
vishalyaChaho12
andauthored
Update gateway-ha/src/main/java/io/trino/gateway/ha/security/QueryMetadataParser.java
Co-authored-by: Jaeho Yoo <[email protected]>
1 parent 51ccf2d commit 9ea3587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gateway-ha/src/main/java/io/trino/gateway/ha/security/QueryMetadataParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void filter(ContainerRequestContext requestContext)
6262
throws IOException
6363
{
6464
String path = requestContext.getUriInfo().getRequestUri().getPath();
65-
if (!isAnalyzeRequest || !pathFilter.isPathWhiteListed(path)) {
65+
if (path == null || !isAnalyzeRequest || !pathFilter.isPathWhiteListed(path)) {
6666
return;
6767
}
6868

0 commit comments

Comments
 (0)