Repository navigation
fix(knowledge): escape backslashes in video-digest queue table cells - #15532
Conversation
escapeTableCell escaped `|` but not `\`, so a video title ending in a backslash escaped the cell's closing pipe and broke the queue row. It now escapes both, and the title is capped before it is escaped so the cap can no longer split an escape. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Q2ceZLXhTR4d1vkTCe
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #15532 at
|
|
claude-review reviewed Code review: PR #15532 (blocking only)This lane already reviewed an earlier head ( What changed since the last review: a new
So the test now catches a revert to the old order. That covers the advisory finding from the earlier head, which the owner resolved as fixed in 86a41fd. That point is settled, so I don't raise it again. Correctness: The fix is correct.
Other checks:
|
A pipe at the cap's last kept position now pins the order: escaping first would leave a dangling backslash before the ellipsis. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VQb9Q2ceZLXhTR4d1vkTCe
No related issue: owner decision (2026-11-12) to clear code-scanning alerts
Summary
Clears code-scanning alert 129 (js/incomplete-sanitization). The video-digest preflight writes a YouTube title, which anyone can set, into a markdown table cell.
escapeTableCellescaped|but not\, so a title ending in a backslash escaped the cell's closing pipe and broke the queue row.Fix
escapeTableCellescapes both\and|.watch-queue.mdnames both escapes.Verification
vitest run acquisition/preflight-metadata.test.jsinplugins/knowledge/skills/video-digest/extraction: 23 passed, including cases for a trailing backslash, for\|, and for capping before escaping.Done when
Related
N/A
🤖 Generated with Claude Code
https://claude.ai/code/session_01VQb9Q2ceZLXhTR4d1vkTCe