-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Affects Version/s: 7.27.6
-
Fix Version/s: 7.31.10
-
Component/s: Artifactory, NuGet
-
Labels:
-
Environment:
Artifactory 7.27.6, Ubuntu installation.
On prem, single node installation
-
Severity:Critical
-
Location:External
Problem description: When retrieving Nuget packages, Artifactory returns a 404 if the package contains uppercase letters and the request contains only lowercase.
What is the impact to the customer? Their builds are failing as the Nuget client is receiving a 404 even though the package exists
What is the expected behavior? Nuget will resolve the package if the request is entirely in lowercase letters as well as upper and lowercase.
Steps to reproduce:
- Upload a package to Artifactory with the following name structure: Test.Test2.Test2.4.1.0-dev.20210101.1.nupk
- Downloading the package via the first URL works and the second URL (with lower case letters) fails:
curl http://localhost:8082/artifactory/api/nuget/nuget-local/Download/Test.Test1.Test2/4.1.0-dev.20210105.5 -uadmin:password
curl http://localhost:8082/artifactory/api/nuget/nuget-local/Download/test.test1.test2/4.1.0-dev.20210105.5 -uadmin:password
Relevant Stacktrace:
2021-11-10T12:53:11.289Z|4a3c51e81431aad7|127.0.0.1|admin|GET|/nuget-local/Test.Test1.Test2/Test.Test1.Test2.4.1.0-dev.20210105.5.nupkg|200|-1|348|43|curl/7.58.0 2021-11-10T12:53:15.998Z|5788230628bc9a21|127.0.0.1|admin|GET|/api/nuget/v3/nuget-local/registration/Download/test.test1.test2/4.1.0-dev.20210101.1|404|-1|0|48|curl/7.64.1