]> source.dussan.org Git - nextcloud-server.git/commit
Fix searchCommon to properly match path name
authorVincent Petry <pvince81@owncloud.com>
Mon, 12 Jan 2015 18:33:00 +0000 (19:33 +0100)
committerVincent Petry <pvince81@owncloud.com>
Mon, 12 Jan 2015 18:33:00 +0000 (19:33 +0100)
commitfcc3b3d5f70eb44787a70dd17b5a843729b1f0d8
treedefc94c8fe75bdc7219b32f70d180a1ddc21f47f
parent331d73c3a37e74f1e322b9bfb239940275422a65
Fix searchCommon to properly match path name

The internal path was matched without the last "/" which caused
"files_trashbin" to also match when the internal path was "files".

This adds the missing slash for the comparison.
lib/private/files/node/folder.php
tests/lib/files/node/folder.php