3 Commits
Author SHA1 Message Date
ReSerendipity e1791e322e security: confine user-supplied paths to ComfyUI root; localize node UI to English
Addresses maintainer review feedback on Comfy-Org/ComfyUI-Manager#3183.

Path traversal:
- Add _confine_to_base(), which resolves the real path (following symlinks)
  and verifies it stays inside the ComfyUI root directory. Applied to
  folder_path, log_folder and output_folder.
- Previously an absolute path was trusted verbatim and relative paths could
  escape via '..', allowing a graph to read arbitrary files and to write or
  delete .json files anywhere the server could reach.
- Log clearing now only removes JSON files previously written by this node
  (validated by the 'prompt_file' key) instead of every .json in the folder.

UI localization:
- Node display name and all widget labels are now English.
2026-09-02 08:46:18 +00:00
ReSerendipity 132ddc6c4b 汉化节点显示名称:批量提示词加载器 2026-08-23 15:25:42 +00:00
ReSerendipity 52fdf7553b Initial commit: BatchPromptLoader ComfyUI custom node - load and encode prompts from TXT files with fixed/increment/decrement/random modes 2026-08-21 11:57:11 +00:00