-
Notifications
You must be signed in to change notification settings - Fork 137
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
🐛 Bug Report: Incorrect ProjectID Instructions #575
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👟 Reproduction steps
👍 Expected behavior
From the code in
appwrite\src\Appwrite\Utopia\Database\Validator\ProjectId.php
It can be seen that the regex doesn't accept underscores as well as leading hyphens and periods in projectID.
The error message provided, also has a slight correction, that it only accepts non-leading hyphens.
Thus, the expected behavior, would be, the following:
👎 Actual Behavior
It currently shows wrong statement, that it accepts underscores as well as periods
This causes confusion among people, not sure what they did wrong, as they were correctly following the instructions
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: