3a6251ca237a5f4bd6acb564f609bd009828e082
Add _VALID_BACKENDS frozenset and validate body.backend before writing to DB in PATCH /api/users/me/default-storage. Returns HTTP 422 for any value not in the allowlist, preventing mass-assignment and logic bypass via arbitrary string values. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
8.1 MiB
Languages
Python
57.2%
JavaScript
16.5%
HTML
14.2%
Vue
12%