diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/AvatarController.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/Controller/AvatarController.php b/core/Controller/AvatarController.php index f29c9c5ab4f..dac2df37ac3 100644 --- a/core/Controller/AvatarController.php +++ b/core/Controller/AvatarController.php @@ -189,8 +189,7 @@ class AvatarController extends Controller { } elseif (!is_null($files)) { if ( $files['error'][0] === 0 && - is_uploaded_file($files['tmp_name'][0]) && - !\OC\Files\Filesystem::isFileBlacklisted($files['tmp_name'][0]) + is_uploaded_file($files['tmp_name'][0]) ) { if ($files['size'][0] > 20 * 1024 * 1024) { return new JSONResponse( |