* Mail: Fix a security issue when sharing of attached files as download links in compose dialog exposes all folders as readonly shares

This commit is contained in:
Hadi Nategh 2018-01-17 17:56:09 +01:00
parent aae5094797
commit 7e1b5602f1

View File

@ -502,7 +502,7 @@ class Sharing
// store temp. path in session, to be able to add more recipients // store temp. path in session, to be able to add more recipients
$path2tmp[$path] = $tmp_file; $path2tmp[$path] = $tmp_file;
$path = $tmp_file; $vfs_path = $tmp_file;
// if not already installed, install periodic cleanup of tmp files // if not already installed, install periodic cleanup of tmp files
$async = new Api\Asyncservice(); $async = new Api\Asyncservice();