firewall: wrong double-encode, closes #1813

This commit is contained in:
Franco Fichtner 2017-09-09 08:26:04 +02:00
parent 1d3b6e610d
commit 283fd7ac2a

View File

@ -155,7 +155,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$timehourstr = $pconfig['starttime' . $x];
$timehourstr .= "-";
$timehourstr .= $pconfig['stoptime' . $x];
$timedescrstr = htmlentities($pconfig['timedescr' . $x], ENT_QUOTES, 'UTF-8');
$timedescrstr = $pconfig['timedescr' . $x];
$dashpos = strpos($timestr, '-');
if ($dashpos === false) {
$timeparts['position'] = $timestr;