Nuget returns prerelease packages even if prerelease query parameter is false #25749
Labels
topic/packages
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Description
the following request:
http://integra-swarm1:6448/api/packages/TeTsistemi/nuget/query?q=&skip=0&take=26&prerelease=false&supportedFramework=net7.0&semVerLevel=2.0.0
returns also prerelease packages:
Member: version
[Path with value: /data/[]/versions/[]/version:1.0.2-alpha.0.3]
[Member with value: version:1.0.2-alpha.0.3]
String value: 1.0.2-alpha.0.3
Key: version
[Path: /data/[]/versions/[]/version]
attached the screenshot of visual studio user interface.
thanks
Gitea Version
1.19.3
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
Ubuntu 22.04.2 LTS
How are you running Gitea?
docker swarm
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: