[projects/distfiles] Turn off internationalized URI (IRI) support in wget

baggins baggins at pld-linux.org
Sun Nov 30 22:07:26 CET 2014


commit 7ca7ab71d628bdda9df055d9b0fb17c9d0737c83
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Nov 30 22:06:25 2014 +0100

    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

 file-fetcher.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
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)");
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/distfiles.git/commitdiff/7ca7ab71d628bdda9df055d9b0fb17c9d0737c83



More information about the pld-cvs-commit mailing list