]> source.dussan.org Git - nextcloud-server.git/commit
Trim mount point before matching in encryption code
authorVincent Petry <vincent@nextcloud.com>
Wed, 1 Jun 2022 12:10:38 +0000 (14:10 +0200)
committerVincent Petry <vincent@nextcloud.com>
Wed, 1 Jun 2022 16:10:59 +0000 (18:10 +0200)
commita704bcf97f9c1baadd3a6f8497bcc9f9c2f4f195
tree784b0e0778fe29877c25a45bfac6e88eba0812a8
parent4e5ed32025398e006f40e819428270d209994e03
Trim mount point before matching in encryption code

Often times the mount point has a leading slash.
This fix sanitizes it to make sure matching works.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
lib/private/Encryption/Util.php