From 91ebb21622ab09610ecef04274a4025830e0c585 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 3 Dec 2025 12:31:20 +0100 Subject: [PATCH] net/upnp: fix escaping in the file for #5005 * remove pconfig escaping as it is already escaped globally * change htmlspecialchars() to html_safe() * protect some spots with html_safe() (being legacy code this is an uphill battle) * some more style tweaks for readability --- net/upnp/src/www/services_upnp.php | 40 ++++++++++++++---------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/net/upnp/src/www/services_upnp.php b/net/upnp/src/www/services_upnp.php index e4919ab2c..ec5402042 100644 --- a/net/upnp/src/www/services_upnp.php +++ b/net/upnp/src/www/services_upnp.php @@ -263,13 +263,11 @@ include("head.inc");