Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
3.9.0, 3.10.0
-
MacOSX
Description
I noticed if I had a yum hosted repository with a permissive deploy policy if I curled in a nuget package, then I still got blocked by invalid content type detection as shown below.
My understanding from the setting and documentation is that permissive means you can add anything. I believe this is how it works for other formats with validation.
e.g.
curl --user admin:admin123 "http://localhost:8081/repository/yum-hosted/Packages/SONATYPE.TEST.1.0.nupkg" --upload-file SONATYPE.TEST.1.0.nupkg --request PUT -v
...
< HTTP/1.1 400 Detected content type [application/x-tika-ooxml], but expected [application/zip, application/octet-stream]: Packages/SONATYPE.TEST.1.0.nupkg
Attachments
Issue Links
- testing discovered
-
NEXUS-24259 Permissive yum items uploaded don't show in search
-
- Closed
-