diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-08-24 08:59:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 08:59:35 +0200 |
commit | e32d2933462a6125481e5e546bd5f237602db09e (patch) | |
tree | 6842e1e3dc3a8a33c0fdb9d7efda5171a6c7a11c /lib/private/Files/Cache/Wrapper | |
parent | 6702c2b356ffffd64c952b2ef8493a9f2408ba42 (diff) | |
parent | c48f9ffcdd83fb641a6433bc0543f3f90fbd08c4 (diff) | |
download | nextcloud-server-e32d2933462a6125481e5e546bd5f237602db09e.tar.gz nextcloud-server-e32d2933462a6125481e5e546bd5f237602db09e.zip |
Merge pull request #28476 from nextcloud/search-jail-insensitive
use case insensitive like when limiting search to jail
Diffstat (limited to 'lib/private/Files/Cache/Wrapper')
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheJail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php index d0fb43c10be..540b6f7b8c3 100644 --- a/lib/private/Files/Cache/Wrapper/CacheJail.php +++ b/lib/private/Files/Cache/Wrapper/CacheJail.php @@ -313,7 +313,7 @@ class CacheJail extends CacheWrapper { new SearchBinaryOperator(ISearchBinaryOperator::OPERATOR_OR, [ new SearchComparison(ISearchComparison::COMPARE_EQUAL, 'path', $this->getGetUnjailedRoot()), - new SearchComparison(ISearchComparison::COMPARE_LIKE, 'path', $this->getGetUnjailedRoot() . '/%'), + new SearchComparison(ISearchComparison::COMPARE_LIKE_CASE_SENSITIVE, 'path', $this->getGetUnjailedRoot() . '/%'), ], ) ] |