]> source.dussan.org Git - nextcloud-server.git/commit
Normalize file name before existence check in scanner
authorVincent Petry <vincent@nextcloud.com>
Tue, 9 Nov 2021 10:56:10 +0000 (11:56 +0100)
committerVincent Petry <vincent@nextcloud.com>
Wed, 17 Nov 2021 08:24:13 +0000 (09:24 +0100)
commit39fe43b914743985693e6243618109aacf8a3882
treef999648b55754647ef6af88ef79605926ab9ab81
parent0a82d2ea3aba7f9f4b25c549f5a83f40dbbb894c
Normalize file name before existence check in scanner

The scanner would not find a NFD-encoded file name in an
existing file list that is normalized.

This normalizes the file name before scanning.

Fixes issues where scanning repeatedly would make NFD files flicker in
and out of existence in the file cache.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
lib/private/Files/Cache/Scanner.php