From 283fd7ac2ad73ca77badd14329ba797238da96fb Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sat, 9 Sep 2017 08:26:04 +0200 Subject: [PATCH] firewall: wrong double-encode, closes #1813 --- src/www/firewall_schedule_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/firewall_schedule_edit.php b/src/www/firewall_schedule_edit.php index 49711f69c..47337644c 100644 --- a/src/www/firewall_schedule_edit.php +++ b/src/www/firewall_schedule_edit.php @@ -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;