Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project cannot have special character #37

Open
jcolomb opened this issue Feb 26, 2021 · 1 comment
Open

project cannot have special character #37

jcolomb opened this issue Feb 26, 2021 · 1 comment

Comments

@jcolomb
Copy link
Collaborator

jcolomb commented Feb 26, 2021

either transform name before creating stuff, or give an error to the user

@achilleas-k
Copy link
Member

Transforming the name doesn't seem feasible. Might be best to add rules in the frontend and throw an error for invalid names. We could reuse the text (and validation code) from GIN:

Will be used to define the URL (path) of the repository. It must be one word (no spaces) and can contain letters (a-z, A-Z), numbers (0-9), dash (-), underscore (_), or dot (.) characters. Repository names should be short, unique and specific (do not use a generic name like "dataset", "plos_paper", etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants