Skip to content
Snippets Groups Projects
Unverified Commit 9e306405 authored by Will McCutchen's avatar Will McCutchen Committed by GitHub
Browse files

Improve and standardize error handling (#135)

Standardize on structured JSON error responses everywhere we can, with
only one exception where the error is a warning for humans to read.

Fixes #108 by adding a check to every request in the test suite to
ensure that errors are never served with a Content-Type that might
enable XSS or other vulnerabilities.

While we're at it, continue refining the test suite and further adopting
some of the testing helpers added in #131.
parent a43ddc85
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment