barreljan / netlog

A Syslog-NG to MySQL parser with no-nonsense GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

messages with html-like characters not displayed

barreljan opened this issue · comments

Mostly observed with Postfix and message-id's;

For example
8A497405FD0F: message-id=<tJUpsu3Eu45ZsQIKqfENLnb3O2jmZk9F9Lii5H6qeik@somehost>

As it is between < and > the browser tries to render it with no succes. The use of htmlspecialchars() should fix this.

lines 747, 749 in web/index.php
line 151 in web/netalert.php
line 586 in web/settings.php