<#3428 [BUG] validate version id at registration t...
# flyte-github
a
#3428 [BUG] validate version id at registration time to be url-safe Issue created by cosmicBboy Describe the bug The purpose of this issue is to add validation of the version id (e.g. the
--version
flag) that makes sure that it's URL-safe. We want to validate that the version id consists of only: • alphanumeric characters •
.
,
-
,
_
,
%
Otherwise, version ids with, for example
/
, won't be rendered correctly on the Flyte UI. Expected behavior If a user tries to do something like
Copy code
pyflyte register ... --version my/version/1
• flytekit should raise an error. •
flytectl register
should also raise an error _Edit_: the validation should occur in admin, so that we don't do repeat validation across clients. Additional context to reproduce No response Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte