public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dns.cgi: Correction to typo
@ 2025-10-13  9:18 Adolf Belka
  2025-10-13  9:18 ` [PATCH 2/2] core198: Ship dns.cgi Adolf Belka
  0 siblings, 1 reply; 2+ messages in thread
From: Adolf Belka @ 2025-10-13  9:18 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

- 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 <adolf.belka@ipfire.org>
---
 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'});
-- 
2.51.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 2/2] core198: Ship dns.cgi
  2025-10-13  9:18 [PATCH 1/2] dns.cgi: Correction to typo Adolf Belka
@ 2025-10-13  9:18 ` Adolf Belka
  0 siblings, 0 replies; 2+ messages in thread
From: Adolf Belka @ 2025-10-13  9:18 UTC (permalink / raw)
  To: development; +Cc: Adolf Belka

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/core/198/filelists/files | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/rootfiles/core/198/filelists/files b/config/rootfiles/core/198/filelists/files
index adf18e482..709788ae8 100644
--- a/config/rootfiles/core/198/filelists/files
+++ b/config/rootfiles/core/198/filelists/files
@@ -1,5 +1,6 @@
 etc/rc.d/init.d/cleanfs
 etc/rc.d/init.d/suricata
+srv/web/ipfire/cgi-bin/dns.cgi
 var/ipfire/graphs.pl
 var/ipfire/header.pl
 var/ipfire/ids-functions.pl
-- 
2.51.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-13  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-13  9:18 [PATCH 1/2] dns.cgi: Correction to typo Adolf Belka
2025-10-13  9:18 ` [PATCH 2/2] core198: Ship dns.cgi Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox