From 978902a04d9266307b9621613cd10435f98342f8 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sun, 3 Jun 2007 09:50:46 +0200 Subject: [PATCH] lib/Packages/DoShow.pm: Ensure that the source download path starts with / Otherwise we might get an invalid URL if the host lacks a trailing / --- lib/Packages/DoShow.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index 05baeff..e141588 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -339,7 +339,7 @@ sub moreinfo { # non-US hack ($server = lc $page->get_newest('archive')) =~ s/-//go; $server = $env->{$server}||$env->{us}; - $path = "$src_dir/$src_file_name"; + $path = "/$src_dir/$src_file_name"; if ($src_file_name =~ /dsc$/) { $name = 'dsc' } else { -- 2.39.2