aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Access.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-07-20 21:24:19 +0200
committerGitHub <noreply@github.com>2016-07-20 21:24:19 +0200
commita17ba2f4889c92e7113606e17cc6b9f66512264f (patch)
treebc0f77e97a21d93bc892f22f1756298e557438b4 /apps/user_ldap/lib/Access.php
parent78cad699fe48e29889145c394d2d86dfa35ea805 (diff)
parent7c0de08cc44e0b04f23d6f3fa2d6030991935c54 (diff)
downloadnextcloud-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.php2
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 {