diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-08-27 13:47:31 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-08-27 22:23:48 +0200 |
commit | 321c51478245672844a302481c1e2e295fd326fa (patch) | |
tree | c44bafce6ccd665c79a4e8103b6bf20a220cdbf4 | |
parent | d5062b9e0e50b7830cb6b323c926c89ac7d4aee0 (diff) | |
download | nextcloud-server-321c51478245672844a302481c1e2e295fd326fa.tar.gz nextcloud-server-321c51478245672844a302481c1e2e295fd326fa.zip |
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); } /** |