]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not lower the sharee search
authorRoeland Jago Douma <rullzer@owncloud.com>
Tue, 12 Jan 2016 09:05:09 +0000 (10:05 +0100)
committerRoeland Jago Douma <rullzer@owncloud.com>
Tue, 12 Jan 2016 09:05:09 +0000 (10:05 +0100)
Fixes #21639

When lowering the remote search it break remotes that have uppercase
letters like foo@example.com/ownCloud/

Backends do the mathcing so they should also make sure that the search
string is converted to the format they require.

apps/files_sharing/api/sharees.php

index 24b51d7afe494bd2c7917bbede3f96edc9b76789..3ddf54c3eaf8ad94f5ceebaa31f0de2b3ad2c0c8 100644 (file)
@@ -353,7 +353,7 @@ class Sharees {
                $this->limit = (int) $perPage;
                $this->offset = $perPage * ($page - 1);
 
-               return $this->searchSharees(strtolower($search), $itemType, $shareTypes, $page, $perPage);
+               return $this->searchSharees($search, $itemType, $shareTypes, $page, $perPage);
        }
 
        /**