Our content hashes are always hex digests and we should reject anything that contains non-hex characters. This raises an exception when trying to call archive methods with invalid content hashes.
You can test this in Aleph by installing serivcelayer from this branch:
Our content hashes are always hex digests and we should reject anything that contains non-hex characters. This raises an exception when trying to call archive methods with invalid content hashes.
You can test this in Aleph by installing serivcelayer from this branch:
Don’t forget to restart the
api
container after doing this :)