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

Validate NameOrSnowflake in Path<NameOrSnowflake> declarations #1217

Closed
auguwu opened this issue Nov 24, 2023 · 0 comments · Fixed by #1501
Closed

Validate NameOrSnowflake in Path<NameOrSnowflake> declarations #1217

auguwu opened this issue Nov 24, 2023 · 0 comments · Fixed by #1501
Assignees
Labels
bug Something isn't working rust Pull requests that update Rust code
Milestone

Comments

@auguwu
Copy link
Member

auguwu commented Nov 24, 2023

Since Names are user input, they should be validated:

/workspaces/Noelware/Products/charted/charted (feat/repo-endpoints*) » curl http://localhost:3651/users/@Me                                                             noel@floofbox
{"success":false,"errors":[{"code":"ENTITY_NOT_FOUND","message":"User with ID or name [@Me] was not found."}]}% 
@auguwu auguwu added bug Something isn't working rust Pull requests that update Rust code labels Nov 24, 2023
@auguwu auguwu added this to the v0.1.0-beta milestone Nov 24, 2023
@auguwu auguwu self-assigned this Nov 24, 2023
@auguwu auguwu mentioned this issue Nov 24, 2023
54 tasks
@auguwu auguwu linked a pull request Jan 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant