mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-12-05 01:29:32 +01:00
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>
692 B
692 B
aicodeman
| aicodeman |
|---|
| patch |
Prompt uploads accept .html and .htm as documents, in paste, drop and every Attach picker. 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. An HTML upload is judged like the rest of the text family (UTF-8 with no NUL byte) and saved to .codeman-uploads/. It is stored to be read, never rendered on Codeman's origin: file-raw serves it as application/octet-stream with nosniff, which a browser downloads, and the rendered-HTML view refuses a page in a hidden directory, both now pinned by tests. Scripts (.sh, .py, .js) are still refused.