From patchwork Mon Oct 13 09:18:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9185 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4clWxH15jsz3wdV for ; Mon, 13 Oct 2025 09:18:43 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4clWxG70Lpz3wT for ; Mon, 13 Oct 2025 09:18:42 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4clWxG6Cdfz32fl for ; Mon, 13 Oct 2025 09:18:42 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4clWxD1sPZz2xQW for ; Mon, 13 Oct 2025 09:18:40 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4clWxC3Kr4zD6; Mon, 13 Oct 2025 09:18:39 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1760347119; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=cOgaw96D/8WXlnUfu0cjhgayKOnHub4AXAHDulIy14Q=; b=edP4hOUrWgH4G2lwLJ9kVSuhq1iAdhg8xuTann/NyfLbzCL3KLCQw7+KBPmE+3kRGVnUJx DWOlImnZGSG1pXBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1760347119; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=cOgaw96D/8WXlnUfu0cjhgayKOnHub4AXAHDulIy14Q=; b=IBSwm+46Z22KjghzNIGoZLWN2s31CD7pwdVvF9gvIk9yuScvsARfp80Z7CRLz9h6hiOfms hkMI4cUhxoAbnrcyM1Yxj+5XQB4CMpyGydq20hn99fu1mZmpMYckGuPzzoPrpV9E39wx1T lJ4hO2bAkE3adkLZKaWBHsWiN69K6/G4aqheMdZQlcdXV+SMObrhLToqEXxG9YQW9RYBB+ y5FAPXB3AFdj59ZBwJ9S+p2wnwlg3dQX0m/Xp21+vt2iraLMp8hE4r+L7h18IWh5L2xOJK K1677rb1GlF8sR38B41aobXcZA1+Dr9GjNYqMqbqLAKYKryOJdnevScULAeppw== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH 1/2] dns.cgi: Correction to typo Date: Mon, 13 Oct 2025 11:18:28 +0200 Message-ID: <20251013091829.14664-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Spotted by a new user on the forum as part of their CU198 Testing. - Causes an Internal Server Error when trying to access the Domain Name System page. Signed-off-by: Adolf Belka --- html/cgi-bin/dns.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/dns.cgi b/html/cgi-bin/dns.cgi index 29a46d4b6..f01d5d3ab 100644 --- a/html/cgi-bin/dns.cgi +++ b/html/cgi-bin/dns.cgi @@ -777,7 +777,7 @@ sub show_add_edit_nameserver() { # Assign cgiparams values. $cgiparams{'NAMESERVER'} = &Header::escape($dns_servers{$cgiparams{'ID'}}[0]); $cgiparams{'TLS_HOSTNAME'} = $dns_servers{$cgiparams{'ID'}}[1]; - $cgiparams{'REMARK'} = $Header::escape($dns_servers{$cgiparams{'ID'}}[3]); + $cgiparams{'REMARK'} = &Header::escape($dns_servers{$cgiparams{'ID'}}[3]); } } else { &Header::openbox('100%', 'left', $Lang::tr{'dnsforward add a new entry'});