Hey all,
I'm sure I'm the one causing the issue here but I can't figure out how yet. I'm using the following API call to try and enable just Ioncube for 'cPanel PHP loader' in tweak settings. The API call I'm using is the following.
This is returning as if it succeeded but what it actually sets in /var/cpanel/cpanel.config is the following.
To add to the weirdness, lets say that I wanted to set Ioncube and Zend. I've tested and confirmed that this is 'ioncube,zend' in /var/cpanel/cpanel.config, but using the value of 'ioncube%2Czend' fails with the reason 'Value is not a valid key.'
I've been able to reproduce this in the API Shell as well.
Any guidance or just a confirmation that this happens to others will be greatly appreciated.
I'm sure I'm the one causing the issue here but I can't figure out how yet. I'm using the following API call to try and enable just Ioncube for 'cPanel PHP loader' in tweak settings. The API call I'm using is the following.
Code:
/json-api/set_tweaksetting?api.version=1&key=phploader&value=ioncube
Code:
phploader=HASH(0x647f170)
I've been able to reproduce this in the API Shell as well.
Any guidance or just a confirmation that this happens to others will be greatly appreciated.