aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-09-02 13:54:48 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-09-02 13:54:48 +0000
commite3e9dd9d78cb0766358324eb167d74fabceccd46 (patch)
tree241dc5362974745f3970866e326f92b11e80106c /edit-urpm-sources.pl
parent6d580c7381955e7b42ada410ed5ba19c92f0bef6 (diff)
downloadrpmdrake-e3e9dd9d78cb0766358324eb167d74fabceccd46.tar
rpmdrake-e3e9dd9d78cb0766358324eb167d74fabceccd46.tar.gz
rpmdrake-e3e9dd9d78cb0766358324eb167d74fabceccd46.tar.bz2
rpmdrake-e3e9dd9d78cb0766358324eb167d74fabceccd46.tar.xz
rpmdrake-e3e9dd9d78cb0766358324eb167d74fabceccd46.zip
less strict regexp to split user/pass of proxy authen so that
they may contain a : now
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-xedit-urpm-sources.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index d72dfbc1..0a4c09d6 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -214,7 +214,7 @@ sub update_callback {
sub proxy_callback {
my $w = my_gtk->new(_("Configure proxies"));
my ($proxy, $proxy_user) = curl_download::readproxy;
- my ($user, $pass) = $proxy_user =~ /^([^:]+):([^:]+)$/;
+ my ($user, $pass) = $proxy_user =~ /^(.+):(.+)$/;
gtkadd($w->{window},
gtkpack__(new Gtk::VBox(0, 5),
new Gtk::Label(_("If you need a proxy, enter the hostname and an optional port (syntax: <proxyhost[:port]>):")),