From 71976a095fd777e2727e40229d33ade338298a37 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 12 Jan 2016 10:05:09 +0100 Subject: [PATCH] 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. --- apps/files_sharing/api/sharees.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_sharing/api/sharees.php b/apps/files_sharing/api/sharees.php index 24b51d7afe..3ddf54c3ea 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); } /**