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
uploaded assets and sub-files are not checked against this.
This does not include all valid URI and file name characters.
I uploaded a file that was named something similar to file__id==version, and because == is invalid according to the regex. The file could be uploaded, but when specified in a model config for the asset it freezes when trying to resolve the asset and no error is throw. The asset also cannot be downloaded via code.
The text was updated successfully, but these errors were encountered:
nmichlo
changed the title
Uploaded asset names are not checked against asset spec
Uploaded asset names with unsupported characters are not checked against asset spec, and cannot be downloaded
Jun 20, 2023
After diving into the code, modelkit lists the following regex for asset names:
However:
I uploaded a file that was named something similar to
file__id==version
, and because==
is invalid according to the regex. The file could be uploaded, but when specified in a model config for theasset
it freezes when trying to resolve the asset and no error is throw. The asset also cannot be downloaded via code.The text was updated successfully, but these errors were encountered: