Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

OSV.dev API doesn't respect .nuspec package id case-insensitivity

Chiusa
#5,292 1 commento 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@michaelkedar ci sta già lavorando.

Dal 30/4/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Describe the bug
The .nuspec specification indicate that package id is case-insensitive. However, the OSV.dev API is case-sensitive for NuGet package id.

To Reproduce
Steps to reproduce the behaviour:

  1. Calling the following don't return any vulnerabilities:
    curl -d \
      '{"package": {"name": "snowflake.Data", "ecosystem": "NuGet"}, "version": "2.1.2"}' \
      "https://api.osv.dev/v1/query"
    
  2. Calling the following return three vulnerabilities:
    curl -d \
      '{"package": {"name": "Snowflake.Data", "ecosystem": "NuGet"}, "version": "2.1.2"}' \
      "https://api.osv.dev/v1/query"
    

Expected behaviour
The OSV.dev API respect the .nuspec specification case-insensitivity for package id. Invoking the API for NuGet package id snowflake.Data should return the same results as for Snowflake.Data for a given version.

Screenshots

Calling the API for snowflake.Data:

Image

Calling the API for Snowflake.Data:

Image
Lingua principale
Go
Stelle
3k
Fork
389
Merge medio
1g 16h
PR unite (30g)
123

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di google/osv.dev

Tutte le issue di google/osv.dev

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.