0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-03-04 12:07:30 +00:00
nextcloud_server/lib/private/IntegrityCheck
Louis Chemineau cdd00bf803
fix: Report duplicated extra files in integrity check
The `array_diff` is not comparing the array keys. This means that an extra key with an expected hash will not be reported. Using `array_diff_assoc` will report such files.

For example, copying `status.php` to `status 2.php`, will only be reported with the new version.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-26 10:28:39 +01:00
..
Exceptions chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Helpers chore(legacy): Introduce public version ct plass and drop version methods from OC_Util 2024-09-20 14:53:34 +02:00
Iterator fix: skip the integrity check for nextcloud-init-sync.lock 2024-09-22 17:48:43 +02:00
Checker.php fix: Report duplicated extra files in integrity check 2025-02-26 10:28:39 +01:00