Files
Glimmer/internal/server/templates
lucioandClaude Opus 4.6 b069027d56 Add generic file upload support to pastebin (5 MB max)
Adds a new POST /admin/upload-file endpoint for uploading any file type
alongside the existing image upload. Files are served with
Content-Disposition: attachment to prevent same-origin XSS via uploaded
HTML/SVG/JS. The display filename embedded in markdown link responses is
sanitized to block markdown injection.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-05-21 00:48:14 -07:00
..