[phpldapadmin] [ phpldapadmin-Bugs-2560658 ] case insensitive topContainer match

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #2560658, was opened at 2009-02-03 23:34
Message generated for change (Comment added) made by wurley
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2560658&group_id=61828

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.1.x
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: miekg (miekg)
Assigned to: Nobody/Anonymous (nobody)
Summary: case insensitive topContainer match

Initial Comment:
In the file server_functions.php at line 2784 we have
the function:

function getContainerTop($dn)

In there is a preg_match to get the top of the ldap
directory tree. I think the preg_match should be made
case insensitive as case does not matter to ldap at this point.

The preg_match is now:

preg_match("/${base_dn}$/",$dn)

and should become

preg_match("/${base_dn}$/i",$dn)

I took us almost half a day to figure out WHY our
templates weren't working and stuff could not be found.

----------------------------------------------------------------------

>Comment By: Deon George (wurley)
Date: 2009-03-20 18:37

Message:
Thanks :)

Updated in CVS in BRANCH-1_1_0.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2560658&group_id=61828

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.