New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update CORS support #24327
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Comments
sdeleuze
added
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
labels
Jan 10, 2020
sdeleuze
added a commit
to sdeleuze/spring-framework
that referenced
this issue
Jan 13, 2020
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 spring-projectsgh-24327
This was referenced Feb 15, 2023
Closed
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
This issue is about updating CORS support in order to check
Origin
header inCorsUtils#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 anothercontexts.
It also includes other improvements and related tests.
The text was updated successfully, but these errors were encountered: