WIP of background & logo image upload into instance dir:

- Fix images with spaces in filename do not get loaded
This commit is contained in:
Hadi Nategh 2017-04-28 14:10:20 +02:00
parent c55e0bdae3
commit 5a2df924eb

View File

@ -41,7 +41,7 @@ class admin_config
if ($success)
{
$response->data(array(
'path' => $GLOBALS['egw_info']['server']['webserver_url'].'/api/anon_images.php?src='.$file[$tmp_file[0]]['name']
'path' => $GLOBALS['egw_info']['server']['webserver_url'].'/api/anon_images.php?src='.urlencode($file[$tmp_file[0]]['name'])
));
}
else