SAME-Project / same-project

https://sameproject.ml/
Apache License 2.0
19 stars 8 forks source link

`same init` doesn't validate input properly #155

Closed Bubblyworld closed 2 years ago

Bubblyworld commented 2 years ago

It's possible to crash same init at the end of the process by giving it invalid input, which it happily accepts:

One or more of the provided parameters was invalid: {'metadata': [{'name': ["value does not match regex '^[\\d\\w ]+'"]}]}

We should validate the input properly.