[Pkg-owncloud-commits] [owncloud] 372/394: LDAP: escape some more chars for proper search filter, fixes #1673

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:12:53 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit 0aef7ddd6c29e741738a739cfc53e69dbdd9781c
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Tue Mar 5 14:33:20 2013 +0100

    LDAP: escape some more chars for proper search filter, fixes #1673
---
 apps/user_ldap/lib/access.php |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index f2370cb..29dc8c3 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);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list