diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-03-21 16:14:23 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-03-21 16:14:23 +0000 |
| commit | efe67a6952fce0acc168b5b0b1a9ff9ed27fa9a6 (patch) | |
| tree | e9e918f8e6203440a56b6e21ccac90691fba2acc /frontends/php/include | |
| parent | 31a2e816832504315163edc27d1667ff8d8251db (diff) | |
- minor changes (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2705 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
| -rw-r--r-- | frontends/php/include/actions.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/actions.inc.php b/frontends/php/include/actions.inc.php index c9c49b80..d8432f6f 100644 --- a/frontends/php/include/actions.inc.php +++ b/frontends/php/include/actions.inc.php @@ -372,7 +372,7 @@ foreach($cmd_list as $cmd) { $cmd = trim($cmd, "\x00..\x1F"); - if(!ereg("^([a-zA-Z0-9]{1,})(:|#)(([a-zA-Z]\:|/){0,1}([a-zA-Z0-9_\.\\/]{3,}))$",$cmd,$cmd_items)){ + if(!ereg("^([a-zA-Z0-9]{1,})(:|#)[a-zA-Z/][0-9a-zA-Z\"\'\\/_\|\:\.><\}\*-\&\`\;\{[:space:]]*$",$cmd,$cmd_items)){ error("incorrect command: '$cmd'"); return FALSE; } |
