8000 password reset emails with `user+label@host` are not correctly URL-encoded · Issue #15151 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
password reset emails with user+label@host are not correctly URL-encoded #15151
Closed
@johnstcn

Description

@johnstcn

Relates to #14232

After creating a test password reset for a user with email of the form user+label@host, I noticed that the password reset URL was of the form https://<coder-url>/reset-password/change?otp=<random>&email=user+label@host.

This leads to the form not working properly due to the + being interpreted as a space ( ).

We should ensure that any inputs to the password reset URL are URL-encoded.

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0