fast-auth-signer icon indicating copy to clipboard operation
fast-auth-signer copied to clipboard

URL encoding issue on Login

Open Pessina opened this issue 3 months ago • 0 comments

The email parameter in the URL is being double-encoded on line 57 of Login.tsx (https://github.com/near/fast-auth-signer/blob/d7fb38aa8bfad5cb2528dc38641da2206e73258b/packages/near-fast-auth-signer/src/components/Login/Login.tsx#L57).

A previous fix by @hcho112 to handle special characters in emails like "[email protected]" introduced this issue. Now, emails like "[email protected]" are incorrectly returned as "felipe%40near.org".

Demo video bellow:

https://github.com/near/fast-auth-signer/assets/22358004/a17a23a5-b120-46f6-8c9a-7def9978a5ed

Pessina avatar Mar 19 '24 01:03 Pessina