Skip to content
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

CORS Enabled by default since 2.2.2.RELEASE due to Changes in Spring Webflux 2.2.3.RELEASE #1713

Closed
waileong opened this issue May 12, 2020 · 1 comment

Comments

@waileong
Copy link

Describe the bug
CORS enabled by default in Spring-Cloud-Gateway since 2.2.2.RELEASE due to dependency upgrade in spring framework 2.2.4 (>2.2.3), due to changes for issues #24327

Sample
It should be OPTIONAL to let either Spring-Cloud-Gateway or downstream application to handle CORS preflight request.

@tony-clarke-amdocs
Copy link
Contributor

This was a change in the Spring Framework. Although the comment says "does not change how Spring MVC or WebFlux process CORS request" it does appear to change the code path. I think you need to open this with Spring Framework team. It looks like a non bwc change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants