diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-03-05 06:03:25 -0800 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-03-05 06:03:25 -0800 |
commit | 4830ba8035297869ac5ab12723625d3ab19d9e58 (patch) | |
tree | 9c26aef171b5c38a946d4620c321a04350315c2b | |
parent | f3b9c9eb734d57beb83ccefc921fe75c5f911a38 (diff) | |
parent | 055fadd10dcbe0b7cd87eb85d77cfd515e2c71cf (diff) | |
download | nextcloud-server-4830ba8035297869ac5ab12723625d3ab19d9e58.tar.gz nextcloud-server-4830ba8035297869ac5ab12723625d3ab19d9e58.zip |
Merge pull request #2112 from owncloud/fix_1673
LDAP: escape some more chars for proper search filter, fixes #1673
-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 d409591283c..a8cfd45bf4d 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -144,6 +144,9 @@ abstract class Access { '\;' => '\5c3B', '\"' => '\5c22', '\#' => '\5c23', + '(' => '\28', + ')' => '\29', + '*' => '\2A', ); $dn = str_replace(array_keys($replacements), array_values($replacements), $dn); |