Req #19438 [Csd]: ldap_get_entries() does strlower() on attribute names

From: Date: Thu, 07 Apr 2022 14:06:51 +0000
Subject: Req #19438 [Csd]: ldap_get_entries() does strlower() on attribute names
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240756@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=19438&edit=1 ID: 19438 Updated by: ilutov@php.net Reported by: titus dot anderson at louisville dot edu Summary: ldap_get_entries() does strlower() on attribute names Status: Closed Type: Feature/Change Request Package: LDAP related Operating System: * PHP Version: 7.1 Assigned To: ilutov Block user comment: N Private report: N New Comment: As mentioned, this would be a BC break. There's no clear migration path without introducing a new function either. So I'm closing this issue. If the need for this persists a new issue can be created on GitHub. Previous Comments: ------------------------------------------------------------------------ [2022-04-07 14:06:40] ilutov@php.net As mentioned, this would be a BC break. There's no clear migration path without introducing a new function either. So I'm closing this issue. If the need for this persists a new issue can be created on GitHub. ------------------------------------------------------------------------ [2017-10-23 01:19:08] 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 ------------------------------------------------------------------------ [2003-06-29 21:36:54] iliaa@php.net Not a bug, feature request. ------------------------------------------------------------------------ [2002-09-16 12:20:19] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=19438&edit=1

« previous php.bugs (#240756) next »