diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-07-20 21:24:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-20 21:24:19 +0200 |
commit | a17ba2f4889c92e7113606e17cc6b9f66512264f (patch) | |
tree | bc0f77e97a21d93bc892f22f1756298e557438b4 /apps/user_ldap/lib/Access.php | |
parent | 78cad699fe48e29889145c394d2d86dfa35ea805 (diff) | |
parent | 7c0de08cc44e0b04f23d6f3fa2d6030991935c54 (diff) | |
download | nextcloud-server-a17ba2f4889c92e7113606e17cc6b9f66512264f.tar.gz nextcloud-server-a17ba2f4889c92e7113606e17cc6b9f66512264f.zip |
Merge pull request #466 from nextcloud/escape-special-characters
Escape special characters (#25429)
Diffstat (limited to 'apps/user_ldap/lib/Access.php')
-rw-r--r-- | apps/user_ldap/lib/Access.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index 4d0753696ff..cdf12331477 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -623,7 +623,7 @@ class Access extends LDAPUtility implements IUserTools { * "Developers" */ private function _createAltInternalOwnCloudNameForGroups($name) { - $usedNames = $this->groupMapper->getNamesBySearch($name.'_%'); + $usedNames = $this->groupMapper->getNamesBySearch($name, "", '_%'); if(!($usedNames) || count($usedNames) === 0) { $lastNo = 1; //will become name_2 } else { |