Skip to content

Commit

Permalink
fix(vulnerability): avoid expose gate endpoints (#1497) (#1500)
Browse files Browse the repository at this point in the history
(cherry picked from commit b4ac721)

Co-authored-by: Cristhian Castaneda <ccastanedarivera@gmail.com>
  • Loading branch information
mergify[bot] and cristhian-castaneda committed Dec 14, 2021
1 parent 903579c commit 66e533b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class AuthConfig {
http
.requestMatcher(requestMatcherProvider.requestMatcher())
.authorizeRequests()
.antMatchers('/**/favicon.ico').permitAll()
.antMatchers('/favicon.ico').permitAll()
.antMatchers(HttpMethod.OPTIONS, "/**").permitAll()
.antMatchers(PermissionRevokingLogoutSuccessHandler.LOGGED_OUT_URL).permitAll()
.antMatchers('/auth/user').permitAll()
Expand Down

0 comments on commit 66e533b

Please sign in to comment.