Request Validation Hardening #76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tasks
POST/PUT/PATCHhandlers — ensure every field has explicit validation:400if missing)parseUUID(r, "id")→400on invalid UUID)RespondError(w, status, message)helper used by all handlersinternal/api/validatepackage with reusable validatorsAcceptance Criteria
400with a descriptive message on invalid input400 Bad Request(not500)