You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Section Web on Servlet Stack, paragraph 1.7.5. CORS Filter and section Web on Servlet Stack, paragraph 1.7.5. CORS WebFilter contain snippet of code with incorrect statements.
The incorrect statements are:
Sviatoslav Hryb opened SPR-17167 and commented
Section Web on Servlet Stack, paragraph 1.7.5. CORS Filter and section Web on Servlet Stack, paragraph 1.7.5. CORS WebFilter contain snippet of code with incorrect statements.
The incorrect statements are:
config.addAllowedHeader("");
config.addAllowedMethod("");
These statements have no sense. There may be a problem with HTML. According to Spring Framework Reference Documentation 4.3.9 I think there should be following statements:
config.addAllowedHeader("*");
config.addAllowedMethod("*");
Affects: 5.0.8
Reference URL: https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html#mvc-cors
Attachments:
Referenced from: commits 8d08935, 6ed03c2
The text was updated successfully, but these errors were encountered: