multica/apps/web/features/issues/components
yushen 9e23fb76fc fix(upload): harden upload flow — sanitize filenames, refresh CF cookies, deduplicate handlers
- Sanitize Content-Disposition filenames to prevent header injection (strip control chars, quotes, semicolons)
- Add CloudFront cookie refresh middleware so cookies are re-issued when expired
- Log errors in groupAttachments instead of silently swallowing them
- Move useFileUpload hook to shared/hooks/ per project architecture conventions
- Add uploadWithToast helper to deduplicate try/catch/toast pattern across 3 components
- Refactor ApiClient.uploadFile to reuse auth headers, 401 handling, and error parsing
- Allow empty MIME types client-side (let server sniff and decide)
- Constrain Image extension max-width in rich-text-editor to prevent layout overflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 15:52:40 +08:00
..
pickers feat(ui): restyle issue status and priority with colored badges 2026-03-31 03:26:43 +08:00
agent-live-card.tsx feat(security): redact sensitive information in agent live output 2026-03-30 23:38:49 +08:00
batch-action-toolbar.tsx feat(ui): restyle issue status and priority with colored badges 2026-03-31 03:26:43 +08:00
board-card.tsx fix(sync): board-card rollback, inbox status sync, markRead error handling 2026-03-31 13:09:17 +08:00
board-column.tsx feat(ui): restyle issue status and priority with colored badges 2026-03-31 03:26:43 +08:00
board-view.tsx feat(issues): redesign kanban board with drag sorting, filters, and display settings 2026-03-28 00:50:29 +08:00
comment-card.tsx feat(upload): add attachment table for tracking uploaded files 2026-03-31 15:29:41 +08:00
comment-input.tsx fix(upload): harden upload flow — sanitize filenames, refresh CF cookies, deduplicate handlers 2026-03-31 15:52:40 +08:00
index.ts fix(comments): fix padding, separate CommentInput from ReplyInput 2026-03-28 23:13:03 +08:00
issue-detail.tsx fix(upload): harden upload flow — sanitize filenames, refresh CF cookies, deduplicate handlers 2026-03-31 15:52:40 +08:00
issues-header.tsx feat(issues): add assignee and creator filters with two-level dropdown 2026-03-31 11:04:21 +08:00
issues-page.tsx feat(issues): add assignee and creator filters with two-level dropdown 2026-03-31 11:04:21 +08:00
list-row.tsx refactor(issues): extract hooks from issue-detail, eliminate dual source of truth 2026-03-31 13:09:17 +08:00
list-view.tsx feat(ui): restyle issue status and priority with colored badges 2026-03-31 03:26:43 +08:00
priority-icon.tsx feat(ui): restyle issue status and priority with colored badges 2026-03-31 03:26:43 +08:00
reply-input.tsx fix(upload): harden upload flow — sanitize filenames, refresh CF cookies, deduplicate handlers 2026-03-31 15:52:40 +08:00
status-icon.tsx feat(ui): restyle issue status and priority with colored badges 2026-03-31 03:26:43 +08:00