From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] dnsforward.cgi: Remove cleanhtml command from Remark Date: Tue, 05 Mar 2024 19:44:15 +0100 Message-ID: <20240305184418.3431741-3-adolf.belka@ipfire.org> In-Reply-To: <20240305184418.3431741-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6970798800449239917==" List-Id: --===============6970798800449239917== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - 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=C3=BCnchen e.V. is entered as a remark it gets converted to Freifunk M=C3=83=C2=BCnchen e.V. - cleanhtml is only removed from Remarks or Comment fields. In other places i= t has been left in place. Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- html/cgi-bin/dnsforward.cgi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/html/cgi-bin/dnsforward.cgi b/html/cgi-bin/dnsforward.cgi index 4af5ed200..42f124766 100644 --- a/html/cgi-bin/dnsforward.cgi +++ b/html/cgi-bin/dnsforward.cgi @@ -2,7 +2,7 @@ ############################################################################= ### # = # # IPFire.org - A linux based firewall = # -# Copyright (C) 2013 IPFire Development Team = # +# Copyright (C) 2013-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 = # @@ -87,9 +87,6 @@ if ($cgiparams{'ACTION'} eq $Lang::tr{'add'}) # Save servers separated by | $cgiparams{'FORWARD_SERVERS'} =3D join("|", @forward_servers); =20 - # Check if a remark has been entered. - $cgiparams{'REMARK'} =3D &Header::cleanhtml($cgiparams{'REMARK'}); - # Set to off if not enabled if (!$cgiparams{'DISABLE_DNSSEC'}) { $cgiparams{'DISABLE_DNSSEC'} =3D "off"; --=20 2.44.0 --===============6970798800449239917==--