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

Spring Cloud Gateway not allowing Encoded URL paths after Update #3384

Open
kpolli opened this issue May 4, 2024 · 1 comment
Open

Spring Cloud Gateway not allowing Encoded URL paths after Update #3384

kpolli opened this issue May 4, 2024 · 1 comment

Comments

@kpolli
Copy link

kpolli commented May 4, 2024

Describe the bug
I just updated my Spring Cloud Gateway Application from 2021.0.1 to 2023.0.1 and Spring Boot from 2.7.3 to 3.2.5. I have noticed that URL encoded values (like %2F) returns a HTTP Status 400 – Bad Request. I have tried putting break points but none seem to be hit. Is this no longer supported in the new version or there is a setting I'm missing or it's a bug?

Sample
Calling http://localhost:8080/user/abc%2Fxyz doesn't work but http://localhost:8080/user/abc/xyz and http://localhost:8080/user/abcxyz both work after this change

@tompson
Copy link

tompson commented May 16, 2024

maybe same issue as #3395

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

2 participants