I encountered a weird issue with CodeIgniter xml-rpc. If some data in the request contains
system (xxx) it is automatically converted to
It only happens when you have word
system followed by opening and closing brackets.
For example if I send
Bachelor in Information system (BIS) it is received as
Bachelor in Information system &140;BIS&141;
Just wondering if anyone else has ever had this issue or know anything about this.
preguntado el 08 de noviembre de 11 a las 16:11
That is caused by the CodeIgniter XSS filtering which is activated by default. It happens because system() is a command in PHP to execute shell code.
Simple workaround (not recommended): Deactivate it in config.php
$config['global_xss_filtering'] = FALSE;
Better workaround: Deactivate it on a per-case base in your XML-RPC controller, so in the server part set