File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/clap/server/adapter/inbound/security/filter Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ protected void doFilterInternal(
7777 private boolean isAnonymousRequest (HttpServletRequest request ) {
7878 String requestUri = request .getRequestURI ();
7979 boolean isAnonymousURI = Arrays .stream (ANONYMOUS_ENDPOINTS )
80- .anyMatch (endpoint -> new AntPathMatcher ().match (endpoint , request . getRequestURI () ));
80+ .anyMatch (endpoint -> new AntPathMatcher ().match (endpoint , requestUri ));
8181 boolean isAnonymous = request .getHeader (HttpHeaders .AUTHORIZATION ) == null ;
82- return (isAnonymousURI && isAnonymous ) || requestUri == REISSUANCE_ENDPOINT ;
82+ return (isAnonymousURI && isAnonymous ) || requestUri . equals ( REISSUANCE_ENDPOINT ) ;
8383 }
8484
8585 @ Override
You can’t perform that action at this time.
0 commit comments