-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
stripPrefix is double-encoding paths #3436
Labels
Comments
Closing in favor of #3437 |
rworsnop
pushed a commit
to rworsnop/spring-cloud-gateway
that referenced
this issue
Jun 25, 2024
rworsnop
pushed a commit
to rworsnop/spring-cloud-gateway
that referenced
this issue
Jun 25, 2024
rworsnop
pushed a commit
to rworsnop/spring-cloud-gateway
that referenced
this issue
Oct 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
This is happening in Spring Cloud Gateway Server MVC 4.1.4.
The
stripPrefix
filter is using theUriComponentsBuilder.build
overload that defaults toencoded=false
.But by this point the URI is encoded, so this double-encodes.
Sample
See new test case in PR.
The text was updated successfully, but these errors were encountered: