|
|
|
|
"in the file :
..catalogincludesfunctionsgeneral.php
replace
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);
$string = preg_replace("/[}]/", ')' , $string);
// fine aggiunta sicurezza END SANITIZE
return preg_replace("/[<>]/", '_', $string);
}" |
|
|
|
 |
| For more information, visit the official osCommerce contribution webpage. |
 |
|
|