2 Commits
Author SHA1 Message Date
cedricandClaude Opus 5.5 d4da3db132 Aperçu : route /api/preview en lecture seule et visualiseurs côté client
- GET /api/preview?path= et /api/public/{jeton}/preview : liste blanche d'extensions, inline, nosniff, CSP stricte, texte plafonné à 2 Mo
- Visualiseurs : texte brut, CSV paginé (PapaParse), Markdown sans HTML brut (react-markdown + remark-gfm), code colorisé (highlight.js), PDF natif
- Le HTML s'affiche comme du code, jamais rendu ; RTF/DOC/DOCX hors périmètre

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:02:19 +01:00
cedric 89c5430308 Up And Down : première version 2026-11-19 10:30:47 +01:00