diff options
Diffstat (limited to 'edit-urpm-sources.pl')
-rwxr-xr-x | edit-urpm-sources.pl | 2 |
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]>):")), |