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:
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
|
||||
|
||||
Reference in new issue
Block a user