diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-06 09:43:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-06 09:43:25 +0000 |
commit | bc2fb3babfa7b63d10a21132c9561a2ff685c47e (patch) | |
tree | 6c180960123658959ec04e688b6b1d13e6a5483f /urpm/mirrors.pm | |
parent | 48e6547eb398a2e28c5f48eef9d63bf82cd8f172 (diff) | |
download | urpmi-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.pm | 2 |
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: |