From 8f846006d3223a32cd82aa680d547dcbb8d9a9c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 13 Mar 2013 17:24:47 +0100 Subject: [PATCH] return original filename to fileupload --- apps/files/ajax/upload.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php index 5b697777e47..3c9190ade4c 100644 --- a/apps/files/ajax/upload.php +++ b/apps/files/ajax/upload.php @@ -71,6 +71,7 @@ if (strpos($dir, '..') === false) { 'size' => $meta['size'], 'id' => $meta['fileid'], 'name' => basename($target), + 'originalname'=>$files['name'][$i], 'uploadMaxFilesize' => $maxUploadFilesize, 'maxHumanFilesize' => $maxHumanFilesize ); -- 2.39.5