devryan / GamePanelX-V3

The Original Free and Open Source Game Control Panel
https://www.gamepanelx.com
Other
131 stars 94 forks source link

[Beta] solution to altered passwords during installation #138

Open paa93 opened 8 years ago

paa93 commented 8 years ago

Passwords containing symbols like '%' where altered without notifying the user resulting in error messages saying the password is wrong while trying to connect to a MySQL database despite knowing its' right. My guess is that the ajax function automatically encodes/decodes the data in it's post request making a password like: 'abc%123' become: 'abc3' while the php function didn't perform any attempt to restore the original password.

(This is not tested) but it shows the concept and the cause of this issue.