summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/app.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index 048d4d4aeb1..cc3a0025283 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -218,6 +218,8 @@ class OC_App{
}else{
$appdata=OC_OCSClient::getApplication($app);
$download=OC_OCSClient::getApplicationDownload($app, 1);
+ // Replace spaces in download link without encoding entire URL
+ $download['downloadlink'] = str_replace(' ', '%20', $download['downloadlink']);
if(isset($download['downloadlink']) and $download['downloadlink']!='') {
$info = array('source'=>'http', 'href'=>$download['downloadlink'], 'appdata'=>$appdata);
$app=OC_Installer::installApp($info);