diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-03-05 14:33:20 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-03-05 16:04:32 +0100 |
commit | 0aef7ddd6c29e741738a739cfc53e69dbdd9781c (patch) | |
tree | 635af216e4eb77d19fe2eff6a99ff7cc4c859cb4 /apps | |
parent | 7b0a8f499d42c86de6e27e5accf53881c508072a (diff) | |
download | nextcloud-server-0aef7ddd6c29e741738a739cfc53e69dbdd9781c.tar.gz nextcloud-server-0aef7ddd6c29e741738a739cfc53e69dbdd9781c.zip |
LDAP: escape some more chars for proper search filter, fixes #1673
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/access.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index f2370cbb3d5..29dc8c3c016 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -127,6 +127,9 @@ abstract class Access { '\;' => '\5c3B', '\"' => '\5c22', '\#' => '\5c23', + '(' => '\28', + ')' => '\29', + '*' => '\2A', ); $dn = str_replace(array_keys($replacements),array_values($replacements), $dn); |