diff --git a/common.php b/common.php index 079473bf3..9352ce75a 100644 --- a/common.php +++ b/common.php @@ -227,8 +227,10 @@ $qstr = ''; if (isset($_REQUEST['sca'])) { $sca = clean_xss_tags(trim($_REQUEST['sca'])); - if ($sca) + if ($sca) { + $sca = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $sca); $qstr .= '&sca=' . urlencode($sca); + } } else { $sca = ''; }