Files
TakkunRed-ComfyUI-Metadata-…/web
TakkunandClaude Sonnet 5 54b782cf44 Fix XSS in JSON viewer, prompt loss on embedded JSON, UTF-16 UserComment (v1.0.1)
- Viewer: render with DOM/textContent instead of innerHTML (metadata is untrusted); reliable copy incl. multi-line values; lazy tree rendering
- Only parse a value as JSON when the whole string is JSON (A1111 "Hashes: {...}" no longer replaces the prompt)
- Decode UserComment (ASCII/UNICODE/JIS, UTF-16 BE/LE) and XP* tags correctly; skip binary blobs such as icc_profile
- Return an error field instead of raising for directories, empty names and non-image files
- Add IS_CHANGED; keep non-ASCII text and numbers in the output JSON
- README: fix node names/descriptions, note absolute-path behavior

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-20 19:39:00 +09:00
..