summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-29 09:53:35 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-29 09:53:35 +0000
commitc25f07b650fc2561e942c6c5d99db63980945277 (patch)
tree4606375f829d5fcb924d3381a9f1c4abb82303b3
parent87ac8e26cafed175dce5fc9ef7d912340b086446 (diff)
downloadzabbix-c25f07b650fc2561e942c6c5d99db63980945277.tar.gz
zabbix-c25f07b650fc2561e942c6c5d99db63980945277.tar.xz
zabbix-c25f07b650fc2561e942c6c5d99db63980945277.zip
- fixed posts for httpsteps (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3768 97f52cf1-0a1b-0410-bd0e-c28be96e8082
-rw-r--r--frontends/php/popup_httpstep.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/popup_httpstep.php b/frontends/php/popup_httpstep.php
index 4a45672b..2df8ec6e 100644
--- a/frontends/php/popup_httpstep.php
+++ b/frontends/php/popup_httpstep.php
@@ -149,7 +149,7 @@ function update_httpstep(formname,list_name,sid,name,timeout,url,posts,required)
$_REQUEST['name']."',".
$_REQUEST['timeout'].",'".
$_REQUEST['url']."','".
- $_REQUEST['posts']."','".
+ str_replace("\n", '\n', str_replace("\r", '', $_REQUEST['posts']))."','".
$_REQUEST['required']."');\n";
?>
-->