mirror of
https://github.com/nextcloud/server.git
synced 2025-02-07 09:59:46 +00:00
8c309130cf
Fixes #35936. When running `OC\Preview\BackgroundCleanupJob`, the main iteration loop in `run()` expects a folder, however, `getOldPreviewLocations()` currently does not filter by mimetype and therefore can yield a non-folder entry which causes an Exception when constructing the Folder impl. Filtering for `httpd/unix-directory`, as `getNewPreviewLocations()` already does, fixes this issue. Signed-off-by: Dario Mehlich <d.mehlich@gmail.com> |
||
---|---|---|
.. | ||
BackgroundCleanupJobTest.php | ||
BitmapTest.php | ||
GeneratorTest.php | ||
HEICTest.php | ||
ImageTest.php | ||
MovieTest.php | ||
MP3Test.php | ||
OfficeTest.php | ||
Provider.php | ||
SVGTest.php | ||
TXTTest.php |