summaryrefslogtreecommitdiffstats
path: root/mdkapplet-enterprise-update-helper
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet-enterprise-update-helper')
-rwxr-xr-xmdkapplet-enterprise-update-helper1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdkapplet-enterprise-update-helper b/mdkapplet-enterprise-update-helper
index 974b13c6..c18747c4 100755
--- a/mdkapplet-enterprise-update-helper
+++ b/mdkapplet-enterprise-update-helper
@@ -166,6 +166,7 @@ sub adding_media_failed {
sub actually_add_enterprise_update_medium {
my ($ref, $password, $arch) = @_;
+ $password = uri_escape($password);
my @options = ({ sensitive_arguments => 1 }, 'urpmi.addmedia', '--xml-info', 'always');
my $uri = "https://" . uri_escape($ref->{data}{email}) . ":$password\@download.mandriva.com/$version/rpms/$arch/";
run_program::raw(@options, '--update', '--distrib', $uri);