spring-framework/spring-webmvc
Sébastien Deleuze bc7d010485 Update CORS support
This commit updates CORS support in order to check Origin header
in CorsUtils#isPreFlightRequest which does not change how Spring
MVC or WebFlux process CORS request but is more correct in term
of behavior since it is a public API potentially used in another
contexts.

It also removes an unnecessary check in
AbstractHandlerMethodMapping#hasCorsConfigurationSource and processes
every preflight request with PreFlightHandler.

Closes gh-24327
2020-01-13 08:33:14 +01:00
..
src Update CORS support 2020-01-13 08:33:14 +01:00
spring-webmvc.gradle Use Gradle test fixture support for spring-web 2020-01-02 16:01:35 +01:00