API password incorrectly encoded
adaivan opened this issue · comments
A user is getting this error in cpanel when trying to use the Migrate option: The API credentials provided are incorrect, please specify a valid API username and password
he sais the password is correct. But the url encodes the @ in his password to 2%
Version information
Controlpanel: Cpanel v11.66.0.15
PHP version: 5.6.30
Addon version: 3.0.96529
Diagnostics
Steps to replicate
- Create an admin account with the special character @ in it's password.
- Try to migrate account from the Cpanel migrate option
Actual result
The API credentials provided are incorrect, please specify a valid API username and password
The url encodes the @ in his password to 2%
Expected result
the used password should be the correct one
Other notes
FWIW the password IS correctly encoded, so there must be another problem here.
I'm unable to reproduce the issue on our dev/testing environment.