This is an automated email from the ASF dual-hosted git repository.

jin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git


The following commit(s) were added to refs/heads/master by this push:
     new 111841858 fix: fix ProfileApi url check (#1893)
111841858 is described below

commit 111841858524b5c4e2e1b8433b74e2e00dda200d
Author: ShouJing <[email protected]>
AuthorDate: Sat May 28 13:52:31 2022 +0800

    fix: fix ProfileApi url check (#1893)
---
 .../main/java/com/baidu/hugegraph/api/filter/AuthenticationFilter.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/filter/AuthenticationFilter.java
 
b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/filter/AuthenticationFilter.java
index 0dc1305ee..14a5690bc 100644
--- 
a/hugegraph-api/src/main/java/com/baidu/hugegraph/api/filter/AuthenticationFilter.java
+++ 
b/hugegraph-api/src/main/java/com/baidu/hugegraph/api/filter/AuthenticationFilter.java
@@ -281,9 +281,6 @@ public class AuthenticationFilter implements 
ContainerRequestFilter {
     public static boolean isWhiteAPI(ContainerRequestContext context) {
         String path = context.getUriInfo().getPath();
 
-        E.checkArgument(StringUtils.isNotEmpty(path),
-                        "Invalid request uri '%s'", path);
-
         for (String whiteApi : WHITE_API_LIST) {
             if (path.endsWith(whiteApi)) {
                 return true;

Reply via email to