Files
Codeman/test/routes
Ludo FourrageandClaude Opus 5.5 85c0f35972 feat(uploads): prompt uploads accept .html and .htm as documents
AI tools write specifications, reports and plans as HTML as often as
Markdown, and handing one to a session as context is the same job as
attaching a .md. Paste, drop and every Attach picker refused them with
"Unsupported file type".

.html/.htm join the text family (UTF-8, no NUL byte) on the server and in
every browser copy the parity test pins. An upload is stored to be read,
never rendered on Codeman's origin: file-raw serves it as octet-stream with
nosniff and html-view refuses a page under .codeman-uploads, both now pinned
by tests. Scripts (.sh, .py, .js) are still refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 10:32:25 -08:00
..
2026-03-01 17:34:09 +01:00