nicumicle/simple-jwt-login

Cannot pass '&' in password

adamwolfs opened this issue · 4 comments

I am attempting to do a PUT updating the password. What i've found is that if you put a & in the password it breaks. I have been unable to find anyway to encode it so that if you do so, it doesn't break. Looks to be a bug?

Can you please provide an example?

I was able to replicate this issue. I will provide a fix for this.

Hello @adamwolfs,

I've merged a fix for this issue.
Can you please test it also on your side that everything is working ok?

You can download the new version from here: https://github.com/nicumicle/simple-jwt-login/tree/master/download

Thank you.

curl -X POST http://localhost/wp-json/simple-jwt-login/v1/users -d '{"email":"test@mydomain.com","password":"123&!@"}'