diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-12 10:05:09 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-12 10:05:09 +0100 |
commit | 71976a095fd777e2727e40229d33ade338298a37 (patch) | |
tree | ebcf19b70eee9adcd41db3da43aff4314a717e58 /apps | |
parent | 3317dd0a8e2ca265172d53a16f9241f3351aa3b8 (diff) | |
download | nextcloud-server-71976a095fd777e2727e40229d33ade338298a37.tar.gz nextcloud-server-71976a095fd777e2727e40229d33ade338298a37.zip |
Do not lower the sharee search
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.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/api/sharees.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/api/sharees.php b/apps/files_sharing/api/sharees.php index 24b51d7afe4..3ddf54c3eaf 100644 --- a/apps/files_sharing/api/sharees.php +++ b/apps/files_sharing/api/sharees.php @@ -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); } /** |