feat(anatomy): text and output caps, hostile corpus through the shipped wasm within budgets; SheetSession poisons on non-closed throws
This commit is contained in:
1 parent
842797b440
commit
43a370aed1
8 files changed
+227
-6
No files matched your search
@@ -24,6 +24,8 @@ fn declared(file: &str) -> Option<Value> {
|
||||
Some(match file {
|
||||
// C3 reference graph: a `<use>` cycle is refused (TS accepts it).
|
||||
"use-self-cycle.svg" | "use-mutual-cycle.svg" => json!({ "rejected": "reference_cycle" }),
|
||||
// C3 text: a `title`/`desc` text over 4 KiB is refused whole (TS keeps it).
|
||||
"long-title.svg" => json!({ "rejected": "too_complex" }),
|
||||
// C3 namespace: `<path xmlns="evil">` is removed too (TS keeps it).
|
||||
"namespaces.svg" => json!({ "removed": [
|
||||
"svg@xmlns:s", "svg@xmlns:inkscape", "s:path", "path",
|
||||
|
||||
Reference in new issue
Block a user