Skip to content

Password reset link not working for usernames with "+" #993

Closed
@sjincho

Description

@sjincho

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

Environment Setup

Ran https://github.com/ParsePlatform/parse-server-example with changes for email adapter on AWS Elastic Beanstalk.

Steps to reproduce

  1. Request for password reset for any existing user with username that contains "+".
  2. In the password reset email, when the user click the link, "+" gets translated into space.

Logs/Trace

n/a

https://github.com/ParsePlatform/parse-server/blob/master/views/choose_password#L152
https://github.com/ParsePlatform/parse-server/blob/master/views/choose_password#L163

Seems choose_password is changing '+' in usernames to ' '. If I change ' ' back to '+' using the browser's dom inspector, changing password works.

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