Skip to content

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

@amidudu

Description

@amidudu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions