webui - Create A New Repository declares repo ID should be atleast 2 chars but does not allow less than 3 #2967
Labels
area/UI
Improvements or additions to UI
good first issue
Good for newcomers
team/versioning-engine
Team versioning engine
The regex at webui/src/lib/components/repositoryCreateForm.jsx, line 18 actually requires 3-63 chars
const repoValidityRegex = /^[a-z0-9][a-z0-9-]{2,62}$/;
while the warning at line 77 states
Min 2 characters
Should fix either one
The text was updated successfully, but these errors were encountered: