From e3e9dd9d78cb0766358324eb167d74fabceccd46 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 2 Sep 2002 13:54:48 +0000 Subject: less strict regexp to split user/pass of proxy authen so that they may contain a : now --- edit-urpm-sources.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: ):")), -- cgit v1.2.1