Make symbol file search case-insensitive
Context
In Endpoint for symbol file download (!134564 - merged), we added an endpoint to return the pdb symbol files. To find the file in the packages_nuget_symbols database table, we use 3 pieces of information we receive in the request:
- file signature
- file name
- file checksum
The search in the database is case-sensitive. So if the signature is sent in a different case than the one saved in the database, the server will return 404. Some users reported that their debuggers are sending those data in a different case than the one Gitlab expects.
To avoid this discrepancy in how debuggers (Visual Studio for example) handle the case of the sent parameters, we need to make our search case-insensitive.
Edited by Moaz Khalifa