View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0034571 | mantisbt | ldap | public | 2024-08-09 07:55 | 2024-08-25 04:31 | 
| Reporter | dregad | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Target Version | 2.26.3 | Fixed in Version | 2.26.3 | ||
| Summary | 0034571: ldap_simulation_get_user() does not return null when given non-string username | ||||
| Description | When $p_username parameter is not a string, ldap_simulation_get_user() returns the first user found in the LDAP simulation file instead of null (= not found) as expected. | ||||
| Tags | No tags attached. | ||||
| MantisBT: master-2.26 bcc4c050 2024-08-09 06:16 Details Diff | Return null when user not found in LDAP simulation When $p_username parameter is not a string, ldap_simulation_get_user() returned the first user found in the LDAP simulation file instead of null as expected. Using strict comparison fixes the problem. Fixes 0034571 | Affected Issues 0034571 | |
| mod - core/ldap_api.php | Diff File | ||
