openSenseMap-API icon indicating copy to clipboard operation
openSenseMap-API copied to clipboard

Confirmation Link Encoding

Open felixerdy opened this issue 1 year ago • 0 comments

When using an email address with suffix, e.g. [email protected], the + sign is not encoded correctly.

Expected Behavior

+ gets encoded to %2B

https://opensensemap.org/account/confirm-email?email=hello%[email protected]&token=xxx

Current Behavior

+ gets encoded to (space)

https://opensensemap.org/account/confirm-email?email=hello [email protected]&token=xxx

Possible Solution

Steps to Reproduce (for bugs)

Context

A customer notified us about this issue

Your Environment

  • Version used:
  • Environment name and version (e.g. Node v8.3.0):
  • Server type and version:
  • Operating System and version:
  • Link to your project:

felixerdy avatar Jul 01 '24 07:07 felixerdy