samba: Correctly escape status output

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2020-10-08 16:52:34 +01:00
parent fb8e2c14df
commit 160fc7b1ab

View File

@@ -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/<br \/>/g;
$Status = &Header::cleanhtml($Status);
my $userentry = "";
my @user = ();