From: Jan Rękorajski Date: Sun, 30 Nov 2014 21:06:25 +0000 (+0100) Subject: Turn off internationalized URI (IRI) support in wget X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=7ca7ab71d628bdda9df055d9b0fb17c9d0737c83;p=projects%2Fdistfiles.git Turn off internationalized URI (IRI) support in wget IRI may cause breakage as described in below thread: http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2014-November/024120.html --- diff --git a/file-fetcher.pl b/file-fetcher.pl index e5d4b6b..837feb2 100755 --- a/file-fetcher.pl +++ b/file-fetcher.pl @@ -241,9 +241,9 @@ sub fetch_file($$) my $all_out = ""; my $bn = basename($url); my $local = "$tmp_dir/$md5/$bn"; - my @cmd = ("wget", "-nv", "--no-check-certificate", "--user-agent=$user_agent", "-O", $local, $url); + my @cmd = ("wget", "-nv", "--no-iri", "--no-check-certificate", "--user-agent=$user_agent", "-O", $local, $url); my $cmd_joined = join(' ', @cmd); - my @cmd2 = ("wget", "-nv", "--no-check-certificate", "--user-agent=$user_agent", "--passive-ftp", "-O", $local, $url); + my @cmd2 = ("wget", "-nv", "--no-iri", "--no-check-certificate", "--user-agent=$user_agent", "--passive-ftp", "-O", $local, $url); my $cmd2_joined = join(' ', @cmd2); syslog("info","fetch_file($md5,$url)");