fix: address review #4 — board name invalidation, SVG tests, test gaps

- Pass board.name to all invalidateBoardCache calls (permission mutations)
- Align integration create invalidation with update/delete
- Add initial-fetch-failure test for integration-data-cache
- Expand SVG XSS test corpus (javascript:, xlink:href, @import, onbegin)
- Forbid <style> tags in SVG sanitizer to prevent CSS injection
- Fix duplicate export in packages/common/src/index.ts
This commit is contained in:
Thomas Camlong committed 2026-08-07 19:18:18 +02:00
1 parent 4361c8dbe2
commit 451dc3ce39
7 files changed
+58 -5

No files matched your search

@@ -3,6 +3,7 @@ import { parseHTML } from "linkedom";
const svgSanitizeOptions = {
USE_PROFILES: { svg: true, svgFilters: true },
FORBID_TAGS: ["style"],
} as const;
// ponytail: linkedom stores DOM tree pointers as own value properties; DOMPurify