You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the specification, clients must base64-encode the identifiers that are part of the URL. The Registry decodes them and returns the data from a backend to the caller. The sldt-digital-twin-registry does not perform this decryption.
Reproduce
Setup: start instance of sldt-digital-twin-registry v0.3.8
GET the shell-descriptor from the registry
Note that the aasId (123123b7-91f0-4dac-a730-eaa1d35e035c) is encoded (MTIzMTIzYjctOTFmMC00ZGFjLWE3MzAtZWFhMWQzNWUwMzVj)
GET /api/v3.0/shell-descriptors/MTIzMTIzYjctOTFmMC00ZGFjLWE3MzAtZWFhMWQzNWUwMzVj HTTP/1.1Host: dtreg.comAccept: application/jsonAuthorization: Bearer
Bug
According to the specification, clients must base64-encode the identifiers that are part of the URL. The Registry decodes them and returns the data from a backend to the caller. The sldt-digital-twin-registry does not perform this decryption.
Reproduce
Note that the aasId (
123123b7-91f0-4dac-a730-eaa1d35e035c
) is encoded (MTIzMTIzYjctOTFmMC00ZGFjLWE3MzAtZWFhMWQzNWUwMzVj
)Expected behavior
HTTP 200 with the resource created in step 1.
Actual behavior
HTTP 404
Additional context
If the URL contains the raw identifier, a resource is returned successfully. However, this only works if the id is a UUID.
The text was updated successfully, but these errors were encountered: