[projects/distfiles] - rpm5 safe fake filename hack
glen
glen at pld-linux.org
Fri Nov 30 09:04:11 CET 2012
commit f3eeba0340f8a57e5a06f9e7a5d471c32c729c93
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Nov 30 10:03:28 2012 +0200
- rpm5 safe fake filename hack
file-fetcher.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/file-fetcher.pl b/file-fetcher.pl
index 3e96ad0..6cc1980 100755
--- a/file-fetcher.pl
+++ b/file-fetcher.pl
@@ -234,7 +234,7 @@ sub fetch_file($$)
if ( $bn =~ m/(%[0-9a-f]{2})/i ) {
$problems .= "$bn: refusing to download file with uri escape codes ($1) in the name\n";
$bn =~ s/%[0-9a-f]{2}/_/g;
- $problems .= "HINT: use $url#/$bn as source to rename the file\n\n";
+ $problems .= "HINT: use $url?/$bn as source to rename the file\n\n";
return;
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/distfiles.git/commitdiff/f3eeba0340f8a57e5a06f9e7a5d471c32c729c93
More information about the pld-cvs-commit
mailing list