Skip to content

Commit

Permalink
disabling permissive cors indication
Browse files Browse the repository at this point in the history
  • Loading branch information
gsergiu committed Dec 4, 2023
1 parent ceb9baf commit 2a69cff
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public class WebMvcConfig implements WebMvcConfigurer {

/** Setup CORS for all GET, HEAD and OPTIONS, requests. */
@Override
@SuppressWarnings({"external_findsecbugs:PERMISSIVE_CORS", "PERMISSIVE_CORS", "java:S5122"}) //the API is public
public void addCorsMappings(CorsRegistry registry) {
registry
.addMapping("/**")
Expand Down

0 comments on commit 2a69cff

Please sign in to comment.