Skip to content

Commit

Permalink
fix: fix ProfileApi url check (#1893)
Browse files Browse the repository at this point in the history
  • Loading branch information
corgiboygsj authored May 28, 2022
1 parent 88d71e7 commit 1118418
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,6 @@ public boolean equals(Object obj) {
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;
Expand Down

0 comments on commit 1118418

Please sign in to comment.