eclipse-tractusx / sldt-semantic-hub

Apache License 2.0
6 stars 10 forks source link

500 on models/{urn} when not url-encoded #116

Closed arnoweiss closed 2 weeks ago

arnoweiss commented 1 year ago

The following request returns an internal server error.

curl --location 'https://semantics.int.demo.catena-x.net/hub/api/v1/models/urn:bamm:io.catenax.material_for_recycling:1.1.0#MaterialForRecycling' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer mysecrettoken

Not serving the request is correct behaviour since the special characters in the url must be encoded. It should however be a 4xx.

agg3fe commented 1 year ago

Hi, Thanks for reporting this. We will check this.

tunacicek commented 2 weeks ago

Done. Issue will be closed.