|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #19438 ldap_get_entries() does strlower() on attribute names
Submitted: 2002-09-16 12:20 UTC Modified: 2017-10-23 01:19 UTC
Avg. Score:4.4 ± 0.8
Reproduced:7 of 8 (87.5%)
Same Version:7 (100.0%)
Same OS:4 (57.1%)
From: titus dot anderson at louisville dot edu Assigned: mcmic (profile)
Status: Assigned Package: LDAP related
PHP Version: 7.1 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: titus dot anderson at louisville dot edu
New email:
PHP Version: OS:


 [2002-09-16 12:20 UTC] titus dot anderson at louisville dot edu
The function ldap_get_entries strlower's attribute names before returning the array of results.  ldap_get_attributes, on the other hand, does not.  It seems to me that these two functions should treat attribute names in a consistent manner.  Perhaps it would make sense to add a configuration option to allow the user to decide how attribute names should be treated.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-29 21:36 UTC]
Not a bug, feature request.
 [2010-12-03 18:13 UTC]
-Package: Feature/Change Request +Package: LDAP related
 [2017-01-09 06:59 UTC]
-PHP Version: 5,6 (PHP_5_2, PHP_5_3, HEAD) +PHP Version: 7.1
 [2017-10-23 01:19 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: mcmic
 [2017-10-23 01:19 UTC]
The only way this can be introduced is with a new additional parameter to ldap_get_entries() as it would otherwise introduce a BC break.

Assigning to maintainer so he can clarify whether this should be something or not
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Aug 03 04:01:23 2021 UTC