From 719871c2a273739c90c5dc0fc7030059aa725093 Mon Sep 17 00:00:00 2001 From: Darold Gilles Date: Fri, 14 Oct 2016 14:39:48 +0200 Subject: [PATCH] Fix remaining _SPC_ in username. Thanks to roshanroche for the report. --- SquidAnalyzer.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SquidAnalyzer.pm b/SquidAnalyzer.pm index 57e56dc..811dbc8 100644 --- a/SquidAnalyzer.pm +++ b/SquidAnalyzer.pm @@ -5303,7 +5303,9 @@ sub _print_top_denied_stat }; my $k = 1; foreach my $user (sort { $denied_stat{$u}{users}{$b} <=> $denied_stat{$u}{users}{$a} } keys %{$denied_stat{$u}{users}}) { - print $out "$user$denied_stat{$u}{users}{$user}\n"; + my $usr_lbl = $user; + $usr_lbl =~ s/_SPC_/ /g; + print $out "$usr_lbl$denied_stat{$u}{users}{$user}\n"; $k++; last if ($k > $self->{TopUrlUser}); }