You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using the function rewritePath in org.springframework.cloud.gatexay.server.mvc.BeforeFilterFunctions in a RouterFunction policy. It works well excepts when the url contains an encoded character.
With an encoded character (ex /testé), the output url will transform as /test%25C3%25A9 instead of /test%C3%A9.
In fact, in the rewritePath method, it doesn't take into account the encoded url :
Is it intended that the rewritePath method be written like this ? or is it a bug ?
Test case
call the gateway app with an accentuated character in the url (ex: GET /testé). your http client librairie will encoded the url as GET /test%C3%A9. and the output will be /test%25C3%25A9.
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm using the function rewritePath in org.springframework.cloud.gatexay.server.mvc.BeforeFilterFunctions in a RouterFunction policy. It works well excepts when the url contains an encoded character.
With an encoded character (ex /testé), the output url will transform as /test%25C3%25A9 instead of /test%C3%A9.
In fact, in the rewritePath method, it doesn't take into account the encoded url :
It works well with :
Is it intended that the rewritePath method be written like this ? or is it a bug ?
Test case
call the gateway app with an accentuated character in the url (ex: GET /testé). your http client librairie will encoded the url as GET /test%C3%A9. and the output will be /test%25C3%25A9.
The text was updated successfully, but these errors were encountered: