I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore" kind of indicates that Anna and anna would be different IDs. I found an answer for this that this a DB feature, but is there a walkaround to make this possible? If not, then maybe it would be beneficial to add this information to the documentation
Not that this is the answer you want, but it looks like they're just doing _uid = id, and in mariadb string comparisons like this are not case sensative.
https://github.com/utopia-php/database/blob/main/src/Database/Adapter/SQL.php#L375C1-L378C57
But I agree, it should note that somewhere in the docs, ideally it should be case sensative though. You can make an issue for this in the appwrite github if you want.
Recommended threads
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...