[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: 3
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 Tue Jul 23 04:38:43 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.