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

RestApiSession double encode when get 307/308 and password contains special characters #453

Open
amidudu opened this issue Feb 16, 2024 · 0 comments

Comments

@amidudu
Copy link

amidudu commented Feb 16, 2024

Seems like this line:
ResponseEntity response = restTemplate.exchange(url, HttpMethod.POST, HttpEntity.EMPTY, Void.class, parameters);

Doesn't work when called from the redirection code:
return getAuthorizationCode(location.toString(), Maps.newLinkedHashMap(), false);

When the password contain special characters, because it will double encode it

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

No branches or pull requests

1 participant