From f8f8387e1c5ccc8764c535872841db77731137b8 Mon Sep 17 00:00:00 2001 From: David Murrell Date: Mon, 15 Sep 2014 15:52:32 +1200 Subject: [PATCH] Update SquidAnalyzer.pm Fix broken week link, otherwise request URL looks like this: "GET /squidanalyzer//2014/week28 HTTP/1.1" 404 - --- SquidAnalyzer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SquidAnalyzer.pm b/SquidAnalyzer.pm index 138e2c2..8168cd0 100644 --- a/SquidAnalyzer.pm +++ b/SquidAnalyzer.pm @@ -4604,7 +4604,7 @@ sub _get_calendar my $ww = sprintf("%02d", $w+1); my $week = "$ww"; if (-d "$path/week$ww") { - $week = "{WebUrl}/$year/week$ww\">$ww"; + $week = "$ww"; } $para .= $week . join('', @{$weeks_num{$w}}) . "\n"; }