Skip to content

Commit 1c70ab6

Browse files
committed
[CHORE] Filter shouldNotFilter 조건 검사문 오탈자 수정
1 parent d036632 commit 1c70ab6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/sopt/makers/authentication/support/security/filter/JwtAuthenticationFilter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ public class JwtAuthenticationFilter extends OncePerRequestFilter {
3131

3232
@Override
3333
protected boolean shouldNotFilter(HttpServletRequest request) {
34-
return checkIsWhiteURI(request.getRequestURI());
34+
return checkIsWhiteURI(request.getRequestURL().toString());
3535
}
3636

3737
private boolean checkIsWhiteURI(String uri) {
3838
return uri.contains(PATH_ACTUATOR)
39-
&& uri.contains(PATH_AUTH)
40-
&& uri.contains(PATH_ERROR)
41-
&& uri.contains(PATH_TEST);
39+
|| uri.contains(PATH_AUTH)
40+
|| uri.contains(PATH_ERROR)
41+
|| uri.contains(PATH_TEST);
4242
}
4343

4444
@Override

0 commit comments

Comments
 (0)