summaryrefslogtreecommitdiffstats
path: root/urpm/mirrors.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-06 09:43:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-06 09:43:25 +0000
commitbc2fb3babfa7b63d10a21132c9561a2ff685c47e (patch)
tree6c180960123658959ec04e688b6b1d13e6a5483f /urpm/mirrors.pm
parent48e6547eb398a2e28c5f48eef9d63bf82cd8f172 (diff)
downloadurpmi-bc2fb3babfa7b63d10a21132c9561a2ff685c47e.tar
urpmi-bc2fb3babfa7b63d10a21132c9561a2ff685c47e.tar.gz
urpmi-bc2fb3babfa7b63d10a21132c9561a2ff685c47e.tar.bz2
urpmi-bc2fb3babfa7b63d10a21132c9561a2ff685c47e.tar.xz
urpmi-bc2fb3babfa7b63d10a21132c9561a2ff685c47e.zip
fix: use "&" instead of "," to join GET parameters in url
Diffstat (limited to 'urpm/mirrors.pm')
-rw-r--r--urpm/mirrors.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/mirrors.pm b/urpm/mirrors.pm
index 4aba409b..bee7a8b0 100644
--- a/urpm/mirrors.pm
+++ b/urpm/mirrors.pm
@@ -264,7 +264,7 @@ sub _mandriva_mirrorlist {
my @para = grep { $_ } $ENV{URPMI_ADDMEDIA_REASON};
"http://api.mandriva.com/mirrors/$product_type.$product_id->{version}.$arch.list"
- . (@para ? '?' . join(',', @para) : '');
+ . (@para ? '?' . join('&', @para) : '');
}
#- heuristic to detect wether it is really a mirrorlist or a simple mirror url: