nextcloud/lib
Dario Mehlich 654034638e fix(preview): Filter for folders in cleanup old preview job
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>
2025-01-27 15:09:36 +00:00
..
composer fix: replace null character when serializing 2024-12-13 20:41:06 -05:00
l10n Fix(l10n): Update translations from Transifex 2025-01-27 00:21:59 +00:00
private fix(preview): Filter for folders in cleanup old preview job 2025-01-27 15:09:36 +00:00
public fix(IInitialState): Allow provideLazyInitialState() closure to return array 2025-01-27 05:42:33 +00:00
autoloader.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
base.php fix: Do not check for strict cookie when running webcron 2024-11-15 12:27:35 +00:00
versioncheck.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00