diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-10 08:26:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-10 08:26:09 +0000 |
commit | 1bfb0aff7a80c8476f999cd8a0d83edb80baf10e (patch) | |
tree | e3c40d59ce03eb6f8a0b76c20681c12486992bfc | |
parent | cef435e78585d423f7fdf87d5333c85c32e22557 (diff) | |
download | urpmi-1bfb0aff7a80c8476f999cd8a0d83edb80baf10e.tar urpmi-1bfb0aff7a80c8476f999cd8a0d83edb80baf10e.tar.gz urpmi-1bfb0aff7a80c8476f999cd8a0d83edb80baf10e.tar.bz2 urpmi-1bfb0aff7a80c8476f999cd8a0d83edb80baf10e.tar.xz urpmi-1bfb0aff7a80c8476f999cd8a0d83edb80baf10e.zip |
do not use netrc for protocol ssh
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | urpm/download.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ - urpmi o enhance "columns" display of packages to install (esp. fit on 80 columns) + o do not use netrc for protocol ssh Version 4.10.7 - 6 September 2007, by Pascal "Pixel" Rigaux diff --git a/urpm/download.pm b/urpm/download.pm index 25de2046..9b2c464d 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!([^:]*)://([^/:\@]*)(:([^/:\@]*))?\@([^/]*)(.*)! && + $url =~ m!([^:]*)://([^/:\@]*)(:([^/:\@]*))?\@([^/]*)(.*)! && $1 ne 'ssh' && { proto => $1, login => $2, password => $4, machine => $5, dir => $6 }; } sub url_obscuring_password { |