From e77abbc09fa30d641dd8a6159162efd24f8a412f Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Mon, 21 Sep 2015 17:56:02 +0200 Subject: [PATCH] big-brother.pl: Make sure restricted URL is used --- modules/big-brother.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/big-brother.pl b/modules/big-brother.pl index 9d29134a..a8572cc8 100644 --- a/modules/big-brother.pl +++ b/modules/big-brother.pl @@ -60,7 +60,6 @@ sub AddRecentVisitor { my $url = ScriptUrl(join(';', "action=$action;id=" . UrlEncode($id), map { $_ . '=' . UrlEncode(GetParam($_)) } keys %params)); - my $url = $q->url(-path_info=>1,-query=>1); my $download = GetParam('action', 'browse') eq 'download' || GetParam('download', 0) || $q->path_info() =~ m/\/download\//;