Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-08-27 15:47:31 +0400
committerArthur Schiwon <blizzz@owncloud.com>2013-08-28 00:23:48 +0400
commit321c51478245672844a302481c1e2e295fd326fa (patch)
treec44bafce6ccd665c79a4e8103b6bf20a220cdbf4
parentd5062b9e0e50b7830cb6b323c926c89ac7d4aee0 (diff)
LDAP: case insensitive replace for more robustness
-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 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);
}
/**