Publisher review:Sanitize modified for general.php serves to change to all the INPUT , for secure result. in the file : ..catalogincludesfunctionsgeneral.phpreplace function tep_sanitize_string($string) {$string = ereg_replace(' ', ' ', trim($string));return preg_replace("/[]/", '_', $string);}
to
function tep_sanitize_string($string) {$string = ereg_replace(' ', ' ', trim($string));// aggiunto per sicurezza BEGIN SANITIZE$string = preg_replace("/[]/", ')' , $string);$string = preg_replace("/[/]/", '' , $string);$string = preg_replace("/[:]/", ';' , $string);$string = preg_replace("/[[]/", '(' , $string);$string = preg_replace("/[]]/", ')' , $string);$string = preg_replace("/[{]/", '(' , $string);$string = preg_replace("/[}]/", ')' , $string);// fine aggiunta sicurezza END SANITIZEreturn preg_replace("/[]/", '_', $string);}
Sanitize modified for general.php is a PHP script for osCommerce Addons scripts design by maurizio magnino.
It runs on following operating system: Windows / Linux / BSD.
Sanitize modified for general.php serves to change to all the INPUT , for secure result.
Operating system:Windows / Linux / BSD