summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-12-08 17:12:13 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-12-08 17:19:57 +0100
commit45443ee28cb0695a99d1d367baee9433d3420914 (patch)
tree1e64fc190c21b26fbb749063c7a12115bec025a0 /apps/user_ldap/user_ldap.php
parent1362c0b67a42873e57dc69437a39c4473caef1a5 (diff)
downloadnextcloud-server-45443ee28cb0695a99d1d367baee9433d3420914.tar.gz
nextcloud-server-45443ee28cb0695a99d1d367baee9433d3420914.zip
preserve an asterisk at the start when escaping a search term
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rw-r--r--apps/user_ldap/user_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 38c32cbda4a..52278082312 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -93,7 +93,7 @@ class USER_LDAP extends BackendUtility implements \OCP\UserInterface {
* Get a list of all users.
*/
public function getUsers($search = '', $limit = 10, $offset = 0) {
- $search = $this->access->escapeFilterPart($search);
+ $search = $this->access->escapeFilterPart($search, true);
$cachekey = 'getUsers-'.$search.'-'.$limit.'-'.$offset;
//check if users are cached, if so return