foojayio / discoapi

The foojay discovery api (discoapi) is made to discover java packages (jre/jdk) from different distributions.
GNU General Public License v2.0
114 stars 14 forks source link

Filter on unknown distro returns all packages #3

Closed marchof closed 3 years ago

marchof commented 3 years ago

Reproducer

https://api.foojay.io/disco/v1.0/packages?distro=doesnotexist

Expected

Empty result

Actual

All packages are returned

marchof commented 3 years ago

Not sure whether this is by design but for me this is not the intuitive behavior of a filter.

marchof commented 3 years ago

Re-tested on http://81.169.252.235:8080/disco/v1.0/packages?packages?&distro=doesnotexist

--> fixed