- Using cleanhtml on Remarks means that all characters with diacritical marks such as
umlauts or grave accents etc get encoded into other characters.
- If Freifunk München e.V. is entered as a remark it gets converted to
Freifunk München e.V.
- cleanhtml is only removed from Remarks or Comment fields. In other places it has been
left in place.
Tested-by: Adolf Belka
Signed-off-by: Adolf Belka
---
html/cgi-bin/wakeonlan.cgi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/html/cgi-bin/wakeonlan.cgi b/html/cgi-bin/wakeonlan.cgi
index e88448964..7f6680891 100644
--- a/html/cgi-bin/wakeonlan.cgi
+++ b/html/cgi-bin/wakeonlan.cgi
@@ -2,7 +2,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2024 IPFire Team #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -307,7 +307,7 @@ for $i ( 0 .. $#wol_devices )
{
my $wol_mac = $wol_devices[$i]{'MAC'};
my $wol_iface = $wol_devices[$i]{'IFace'};
- my $wol_txt = &Header::cleanhtml($wol_devices[$i]{'Comment'});
+ my $wol_txt = $wol_devices[$i]{'Comment'};
if ( (($cgiparams{'ACTION'} eq 'edit') || ($cgiparams{'ACTION'} eq 'update')) && ($i == $cgiparams{'ID'}) )
{
--
2.44.0