Username API call case sensitive
Summary
As requested by customer:
Few user ids were configured as uppercase in Gitlab account and while trying to get the user details the userid is sent as lowercase from Risk account and it seems the user id search is case-sensitive and does not match with lower case and returned as "userid does not match". Do you know anyway on how we can validate with case insensitive search.
Steps to reproduce
Make an HTTP Get request with incorrect capitalization:
curl -k --header "PRIVATE-TOKEN: XXXXXXXXXXXXX" "https://gitlab.com/api/v4/users?username=UserName"
What is the current bug behavior?
If capitalization doesn't match the username does not get returned.
What is the expected correct behavior?
In the application usernames are unique and not case sensitive so I wonder if there is any reason for them to be case sensitive via the API.
Customer issue:
Edited by Adam Mulvany