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
Issue with basePath encoding in result uri #840
Comments
Hmm one idea would be to disable URL encoding and perform it yourself in a filter. Thus you should be able to control exactly how to deal with certain characters. |
Have tried but got issue with method
to
to |
@johanhaleby I could provide pull request if you guide me how to fix it in a better way |
Hi,
Have got an issue with latest version 3.0.2
We used some custom filter which replaced
%7E
back to~
in result url.It was done via manipulating FilterContext and replacing
originalPath
andsubstitutedPath
.In latest version that trick does not work.
So I'm expecting:
Logged in console
http://localhost:8080/restapi/v1.0/acc/~/ext/asdhdj,123fhfjhs,null,"%@*:!"
Sent to server
http://localhost:8080/restapi/v1.0/acc/~/ext/asdhdj%2C123fhfjhs%2Cnull%2C%22%25%40*%3A%21%22"
Actual sent to server:
http://localhost:8080/restapi/v1.0/acc/%7E/ext/asdhdj%2C123fhfjhs%2Cnull%2C%22%25%40*%3A%21%22"
Could you please giva an advice how to solve it in better way?
The text was updated successfully, but these errors were encountered: