]> 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)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Thu, 2 Jun 2022 12:10:07 +0000 (12:10 +0000)
commitb0b03661c1b16376c755fc1570a5ba32f7071896
tree9e16558eb789053b165aada67db059ff2d36fdc4
parent3f3c7f6c07dda0f731122da9b9944660ae44a298
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