Cannot pass '&' in password
adamwolfs opened this issue · 4 comments
adamwolfs commented
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?
nicumicle commented
Can you please provide an example?
nicumicle commented
I was able to replicate this issue. I will provide a fix for this.
nicumicle commented
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.
nicumicle commented
curl -X POST http://localhost/wp-json/simple-jwt-login/v1/users -d '{"email":"test@mydomain.com","password":"123&!@"}'