Files
Glimmer/internal/server
lucioandClaude Fable 5 962f5d9e06 Fix security issues found in review
- Verify CSRF on POST /admin/uploads/resize (was the only state-changing
  admin route without a check) and cap its body at 1 MB
- limitBody: exact-match /admin/upload and /admin/upload-file instead of
  a prefix match that also exempted /admin/uploads/{delete,resize}
- Only honour X-Forwarded-Proto behind a trusted proxy (same rule as
  X-Forwarded-For); fall back to the configured base_url scheme for the
  session cookie Secure flag and baseURL()
- handleAdminBinSave: return 500 on non-ErrNoRows DB error instead of
  dereferencing a nil paste

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-06-09 19:43:32 -07:00
..
2026-06-02 01:24:19 -07:00
2026-06-02 01:24:19 -07:00