* Filemanager: Fix not being able to upload files in filemanager if user id includes space

This commit is contained in:
Hadi Nategh 2016-01-08 16:22:27 +00:00
parent 8b3e9bd0c4
commit 1ee66f1d90

View File

@ -45,7 +45,7 @@ class etemplate_widget_file extends etemplate_widget
*/
public static function ajax_upload() {
$response = egw_json_response::get();
$request_id = urldecode($_REQUEST['request_id']);
$request_id = str_replace(' ', '+', rawurldecode($_REQUEST['request_id']));
$widget_id = $_REQUEST['widget_id'];
if(!self::$request = etemplate_request::read($request_id)) {
$response->error("Could not read session");