mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
* Filemanager/CKEditor: correctly encoding selected files, causing eg. images to not show
This commit is contained in:
parent
439d1e9dab
commit
25a7046983
@ -196,7 +196,7 @@ class filemanager_select
|
|||||||
if ($download_url[0] == '/') $download_url = Egw::link($download_url);
|
if ($download_url[0] == '/') $download_url = Egw::link($download_url);
|
||||||
$js = "window.opener.CKEDITOR.tools.callFunction(".
|
$js = "window.opener.CKEDITOR.tools.callFunction(".
|
||||||
$content['ckeditorfuncnum'].",'".
|
$content['ckeditorfuncnum'].",'".
|
||||||
htmlspecialchars($download_url)."',".
|
str_replace("'", "\\'", $download_url)."',".
|
||||||
"'');\negw(window).close();";
|
"'');\negw(window).close();";
|
||||||
}
|
}
|
||||||
if(Api\Json\Response::isJSONResponse() && !($content['method'] == 'ckeditor_return'))
|
if(Api\Json\Response::isJSONResponse() && !($content['method'] == 'ckeditor_return'))
|
||||||
|
Loading…
Reference in New Issue
Block a user