-
Notifications
You must be signed in to change notification settings - Fork 205
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
👟 Reproduction steps
- Navigate to the Appwrite dashboard.
- Create a new project.
- Enter a project ID containing alpha numeric characters, non-leading hyphens, periods, and underscores (example project_1).
- Observe the error or unexpected behavior.
👍 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?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working



