Files
ComfyAssets-ComfyUI_PromptM…/utils
Vito Sansevero 59fb9a99c9 fix(images): open Windows folders through the shell API, not an Explorer command line
Explorer splits its own command line on commas, so a gallery path such as
output\a,\Windows\System32\calc.exe,b\x.png escaped the roots through
[explorer, "/select,", path] (security review H1). Windows now selects the
file with ILCreateFromPathW and SHOpenFolderAndSelectItems, and on any shell
failure falls back to os.startfile on the folder. No process is started.
2026-10-20 21:24:55 -07:00
..