diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-08-27 15:47:31 +0400 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-08-28 00:23:48 +0400 |
commit | 321c51478245672844a302481c1e2e295fd326fa (patch) | |
tree | c44bafce6ccd665c79a4e8103b6bf20a220cdbf4 | |
parent | d5062b9e0e50b7830cb6b323c926c89ac7d4aee0 (diff) |
LDAP: case insensitive replace for more robustness
-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 6f6b8d0f016..52aa39012fd 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -991,7 +991,7 @@ abstract class Access { * internally we store them for usage in LDAP filters */ private function DNasBaseParameter($dn) { - return str_replace('\\5c', '\\', $dn); + return str_ireplace('\\5c', '\\', $dn); } /** |