Files
DeepTutor/deeptutor/api
Benjamin Schwing 66b33e29f2 fix(notebook): reject non-finite numbers in a PATCHed verdict
FastAPI's JSON parser accepts NaN/Infinity, so a crafted entry PATCH
stored a verdict that made every later read of the entry fail. Reject it
with a 422 in the route: a model validator's 422 body would echo the
value and fail to serialise as well.

Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com>
2026-11-25 01:31:34 +00:00
..
fix
2026-10-28 12:28:20 +08:00