From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 06/54] samba: Correctly escape status output Date: Tue, 13 Oct 2020 16:07:24 +0000 Message-ID: <20201013160812.27754-6-michael.tremer@ipfire.org> In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5005564205825943712==" List-Id: --===============5005564205825943712== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Michael Tremer --- html/cgi-bin/samba.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi index 634f6adb5..981d5dcbe 100644 --- a/html/cgi-bin/samba.cgi +++ b/html/cgi-bin/samba.cgi @@ -42,7 +42,7 @@ my @Logs = qx(ls /var/log/samba/); my $Log =$Lang::tr{'no log selected'}; my $Status = qx(/usr/local/bin/sambactrl smbstatus); -$Status=~s/\n/
/g; +$Status = &Header::cleanhtml($Status); my $userentry = ""; my @user = (); -- 2.20.1 --===============5005564205825943712==--