diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-02-07 09:27:20 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-02-07 09:27:20 +0000 |
| commit | 2d76733fbfa2cdb0935210e524f373c18ef47ee9 (patch) | |
| tree | d40cf2e113983d93e2c11af9bb5ad45a54235587 /frontends/php/include/httptest.inc.php | |
| parent | 4ceb822c9fdd9cb84040e4d104942c6dc565504e (diff) | |
| download | zabbix-2d76733fbfa2cdb0935210e524f373c18ef47ee9.tar.gz zabbix-2d76733fbfa2cdb0935210e524f373c18ef47ee9.tar.xz zabbix-2d76733fbfa2cdb0935210e524f373c18ef47ee9.zip | |
- fixed graphs in Oracle system (Eugene)
- fixed trigger expressions with ':' (Eugene)
- fixed 'Server info' screen componets (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3804 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/httptest.inc.php')
| -rw-r--r-- | frontends/php/include/httptest.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/httptest.inc.php b/frontends/php/include/httptest.inc.php index 1cd20aca..8e773a31 100644 --- a/frontends/php/include/httptest.inc.php +++ b/frontends/php/include/httptest.inc.php @@ -47,7 +47,7 @@ function db_save_step($hostid, $applicationid, $httptestid, $testname, $name, $no, $timeout, $url, $posts, $required, $delay, $history, $trends) { - if (!eregi('^([0-9a-zA-Z\_\.-\$ ]+)$', $name)) + if (!eregi('^([0-9a-zA-Z\_\.[.-.]\$ ]+)$', $name)) { error("Scenario step name should contain '0-9a-zA-Z_ .$'- characters only"); return false; @@ -147,7 +147,7 @@ $history = 30; // TODO !!! Allow user set this parametr $trends = 90; // TODO !!! Allow user set this parametr - if (!eregi('^([0-9a-zA-Z\_\.-\$ ]+)$', $name)) + if (!eregi('^([0-9a-zA-Z\_\.[.-.]\$ ]+)$', $name)) { error("Scenario name should contain '0-9a-zA-Z_.$ '- characters only"); return false; |
