Page 1 of 1

password with ampersand does not work

Posted: Sat Oct 13, 2018 2:41 pm
by howdev
Opencart 3.0.2
password with ampersand login error with password user mismatch. All other special chars work.
When I added htmlspecialchars_decode for the data['password'] model/install.php and admin/model/user.php then fixes the problem.

Re: password with ampersand does not work

Posted: Sat Oct 13, 2018 9:47 pm
by straightlight
The new OC alpha release uses a different method to authenticate users with their passwords which uses safer methodology than decoding passwords.

Re: password with ampersand does not work

Posted: Sun Apr 28, 2019 3:49 pm
by howdev
in Opencart 3.0.3.2 still does not work with ampersand in password. Still needs htmlspecialchars_decode for it to work.
viewtopic.php?t=202107 this thread also present the same problem

Re: password with ampersand does not work

Posted: Sun Apr 28, 2019 10:17 pm
by straightlight
Have no idea how the addressed topic above is relative with htmlspecialchars_decode function since I can't find any on that post.