php.net |  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
Votes:8
Avg. Score:4.8 ± 0.4
Reproduced:7 of 7 (100.0%)
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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
41 - 13 = ?
Subscribe to this entry?

 
 [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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-29 21:36 UTC] iliaa@php.net
Not a bug, feature request.
 [2010-12-03 18:13 UTC] jani@php.net
-Package: Feature/Change Request +Package: LDAP related
 [2017-01-09 06:59 UTC] heiglandreas@php.net
-PHP Version: 5,6 (PHP_5_2, PHP_5_3, HEAD) +PHP Version: 7.1
 [2017-10-23 01:19 UTC] kalle@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: mcmic
 [2017-10-23 01:19 UTC] kalle@php.net
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-2019 The PHP Group
All rights reserved.
Last updated: Sun Dec 15 21:01:26 2019 UTC