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

TO API should not try to insert any non-integer into an integer DB column #1577

Closed
mitchell852 opened this issue Nov 20, 2017 · 0 comments · Fixed by #1572
Closed

TO API should not try to insert any non-integer into an integer DB column #1577

mitchell852 opened this issue Nov 20, 2017 · 0 comments · Fixed by #1572
Assignees
Labels
new feature A new feature, capability or behavior
Milestone

Comments

@mitchell852
Copy link
Member

All create/update api endpoints need to validate that non-integers (i.e. empty strings) are not passed in where integers / numbers are expected in the database.

Need better API validation to catch these and return a 400 Bad Request with a message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature A new feature, capability or behavior
Projects
None yet
2 participants