summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-05 15:31:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-05 15:31:18 +0000
commita9def5f61d5a49e5f148951af4e422c446b57c84 (patch)
tree05ebd0d56a5255f27020b2cb97e8123645d6db7c /urpm/download.pm
parent29989153a3f490d06955a4d109610a779234b798 (diff)
downloadurpmi-a9def5f61d5a49e5f148951af4e422c446b57c84.tar
urpmi-a9def5f61d5a49e5f148951af4e422c446b57c84.tar.gz
urpmi-a9def5f61d5a49e5f148951af4e422c446b57c84.tar.bz2
urpmi-a9def5f61d5a49e5f148951af4e422c446b57c84.tar.xz
urpmi-a9def5f61d5a49e5f148951af4e422c446b57c84.zip
- urpmi.addmedia:
o enhance parsing of urls with login:password for logins with "@" so that password doesn't end up in urpmi.cfg
Diffstat (limited to 'urpm/download.pm')
-rw-r--r--urpm/download.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 9766ded8..d368ab4e 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -628,7 +628,7 @@ sub requested_ftp_http_downloader {
sub parse_url_with_login {
my ($url) = @_;
- $url =~ m!([^:]*)://([^/:\@]*)(:([^/:\@]*))?\@([^/]*)(.*)! && $1 ne 'ssh' &&
+ $url =~ m!([^:]*)://([^/:]*)(:([^/:\@]*))?\@([^/]*)(.*)! && $1 ne 'ssh' &&
{ proto => $1, login => $2, password => $4, machine => $5, dir => $6 };
}
sub url_obscuring_password {