-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Validation when adding a registry #2334
Comments
@bradrydzewski There's a nice hostname validator in goa framework. Their validators do not come in a separate package though; so to use them we'll have to import entire goa package. If it seems superfluous we can implement it ourselves. They've linked the RFC they used for creating that regex: https://www.ietf.org/rfc/rfc1035.txt (Page 7). |
Used |
Merged into 0.9 release. Pending verification. |
The add registry endpoint expects a hostname only and should reject any values with special characters such as slashes. Otherwise they cannot be deleted.
The text was updated successfully, but these errors were encountered: