f5dd2b9a95
The double-submit CSRF middleware blocks all mutating requests without the X-CSRF-Token header. photos.js was uploading video thumbnails via PUT without it, causing a flood of 403 errors. - Add getCsrfHeaders() spread to the fetch headers - Add credentials: 'same-origin' to ensure cookie is sent