LambdAuth icon indicating copy to clipboard operation
LambdAuth copied to clipboard

Support email addresses with +

Open pas256 opened this issue 8 years ago • 4 comments

Hi there,

I just tried the sample application you have (thanks for that) and I signed up using an email address that contains a plus. The format being: [email protected]

I recieved the verification email, clicked the link, but the verification failed. I am guessing it is the plus character because it was not URL encoded in the verification link.

pas256 avatar Aug 26 '15 17:08 pas256

The error message also did not contain the plus character

User me [email protected] has not been Verified, sorry.

pas256 avatar Aug 26 '15 17:08 pas256

I think you're right, I just put a quick fix in the master branch, using encodeURIComponent for the email in the verification link. Do you have time to check if that works through the verify.html page?

danilop avatar Aug 28 '15 09:08 danilop

Testing here: http://lambdauth.danilop.net/

Still fails

pas256 avatar Aug 28 '15 22:08 pas256

Yes - I didn't redeploy there yet - I'll let you know, sorry for the misunderstanding.

On Sat, Aug 29, 2015 at 12:46 AM, Peter Sankauskas <[email protected]

wrote:

Testing here: http://lambdauth.danilop.net/

Still fails

— Reply to this email directly or view it on GitHub https://github.com/danilop/LambdAuth/issues/12#issuecomment-135905222.

danilop avatar Aug 29 '15 08:08 danilop