Fixes in PHP scripts for XSS minor security issues.
git-svn-id: svn://192.168.202.10@3455 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -58,6 +58,8 @@ $ACTION = preg_replace('/[^-_0-9a-zA-Z]/','',$ACTION);
|
||||
$calls_in_queue_option = preg_replace('/[^-_0-9a-zA-Z]/','',$calls_in_queue_option);
|
||||
$calls_in_queue_display = preg_replace('/[^-_0-9a-zA-Z]/','',$calls_in_queue_display);
|
||||
$DB = preg_replace('/[^-_0-9a-zA-Z]/','',$DB);
|
||||
$PHP_SELF=$_SERVER['PHP_SELF'];
|
||||
$PHP_SELF = preg_replace('/\.php.*/i','.php',$PHP_SELF);
|
||||
|
||||
# default optional vars if not set
|
||||
if (!isset($stage)) {$stage="default";}
|
||||
|
||||
Reference in New Issue
Block a user