[RTFACT-15356] The in-memory NuGet cache is case-insensitive, while the NuGet API is case sensitive Created: 28/Nov/17  Updated: 22/Jul/19

Status: Open
Project: Artifactory Binary Repository
Component/s: NuGet
Affects Version/s: 5.6.1
Fix Version/s: None

Type: Bug Priority: High
Reporter: Uriah Levy Assignee: Unassigned
Resolution: Unresolved Votes: 4
Labels: QF, QF-P1, S-P2

Issue Links:
relates to RTFACT-5728 Searches via NuGet appear to now be c... Resolved
is related to RTFACT-14478 Nuget Search should be case in-sensit... Open


We populate the in-memory NuGet cache in a way that isn't case sensitive. For example,

If you upload a .nupkg with the ID "FOO", and then upload another package (to a different location) with the Id "foo", then the latter would be overwriting the former in the in-memory nuget cache, leaving you with a cache entry just for "foo". The problem is that this is inconsistent with how the search APIs work (i.e /Packages(Id='packageId',Version='packageVer'), as they are case-sensitive, so in this case, you will only be able to find "FOO" if you search for it like this:

http://localhost:8080/artifactory/api/nuget/nuget-local/Packages(Id='foo',Version='1.0.0') -> 200

And not like this:
http://localhost:8080/artifactory/api/nuget/nuget-local/Packages(Id='FOO',Version='1.0.0') -> 404

Generated at Thu Nov 21 05:55:24 UTC 2019 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.