Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2.1 KiB
FAIL
-
apps/ely-mark/src/output/html.rs:270 — Scheme detection treats whitespace in a scheme as absence of a scheme, which
safeallows.[run](< javascript:alert(1)>)exports a live JavaScript link;java	script:andjava script:also bypass the filter because browsers remove those controls. The probes produce these hrefs without diagnostics, and URL normalization identifies all three asjavascript:. Validate the browser-normalized address against the allowed schemes, rejecting executable and other disallowed schemes even when obfuscated. Evidence:.work/C14.14-r2/windows-probe.log,linux-probe.log,linux-url-probe.log. -
apps/ely-mark/src/output/files.rs:71 — Cleanup infers folder ownership from an earlier
exists()check rather than successful creation. Start a linked export with many paragraphs before its first image, then export a short document to the same destination while the first is parsing. Both initially see no resource folder; the short export succeeds, but the first later getsAlreadyExistsand deletes the successful export's folder. Native Windows and WSL both reproducefolder_before_loser=true, thenfolder_after_loser=falsewith the HTML still present. Track which operation actually created the resource folder and only let that operation clean it up. Evidence:.work/C14.14-r2/windows-probe.log,linux-probe.log. -
reference/Ely-GPUI-Components/src/typography/math.rs:120 (ff9c0f8) —
formula_svgassumes RaTeX'sembed_glyphsguarantees outlines, but RaTeX silently falls back to SVG text for unsupported glyphs. ExportingBefore $\text{𓀀}$ after.succeeds with no formula diagnostic while the rendered PDF contains a missing-glyph box instead of the formula character. The returned SVG contains aKaTeX_Maintext element rather than that glyph's outline. Convert remaining text to outlines with checked glyph coverage, or returnMathErrorso ElyMark preserves the TeX and reports its line. Cover this fallback in export tests. Evidence:.work/C14.14-r2/linux-formula.log,linux-formula-output.log,raster-verification.log.