Skip to content
Snippets Groups Projects
Commit 4ab7f587 authored by Myles McNamara's avatar Myles McNamara
Browse files

replace spaces in download link without encoding entire URL

parent dd320910
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment