diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-09-11 04:34:12 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-09-11 04:34:12 +0000 |
| commit | b45d2f672715e02f82cd0ad282579f383955e2bf (patch) | |
| tree | 1aa271d41c9fa42e8bc82a657d207ab1be57005d /frontends/php/alerts.php | |
| parent | 9a4897c68df4663edc508da3c7756b83956c3204 (diff) | |
- added translation of special HTML characters in history of
alerts and alarms (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@976 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/alerts.php')
| -rw-r--r-- | frontends/php/alerts.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/php/alerts.php b/frontends/php/alerts.php index baf44acf..735d7b14 100644 --- a/frontends/php/alerts.php +++ b/frontends/php/alerts.php @@ -112,10 +112,10 @@ { echo "<TD><font color=\"AA0000\">not sent</font></TD>"; } - echo "<TD>".$row["sendto"]."</TD>"; - echo "<TD><pre>".$row["subject"]."</pre></TD>"; + echo "<TD>".htmlspecialchars($row["sendto"])."</TD>"; + echo "<TD><pre>".htmlspecialchars($row["subject"])."</pre></TD>"; echo "<TD>"; - echo "<pre>".$row["message"]."</pre>";; + echo "<pre>".htmlspecialchars($row["message"])."</pre>";; // for($i=0;$i<strlen($row["message"]);$i++) // { // if($row["message"][$i]=="\n") |
