Added PHP input form variable filters

git-svn-id: svn://192.168.202.10@3566 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2022-02-18 06:09:51 +00:00
parent ca414e4e48
commit 55c9bc35dc
158 changed files with 297 additions and 14 deletions
+2 -1
View File
@@ -724,6 +724,8 @@ if ($qm_conf_ct > 0)
##### END SETTINGS LOOKUP #####
###########################################
$DB=preg_replace('/[^0-9]/','',$DB);
if ($non_latin < 1)
{
$users=preg_replace('/[^-_0-9a-zA-Z\,]/','',$users);
@@ -738,7 +740,6 @@ if ($non_latin < 1)
$status_breakdown = preg_replace('/[^1Y]/','',$status_breakdown);
$show_percentages = preg_replace('/[^1Y]/','',$show_percentages);
$DB=preg_replace('/[^0-9]/','',$DB);
$user=preg_replace('/[^-_0-9a-zA-Z]/','',$user);
$pass=preg_replace('/[^-_0-9a-zA-Z]/','',$pass);
$agent_user=preg_replace('/[^-_0-9a-zA-Z]/','',$agent_user);