mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-04 23:37:31 +00:00
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#3063
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/3161
Author: @ltdrdata
Created: 8/13/2026
Status: ✅ Merged
Merged: 8/15/2026
Merged by: @ltdrdata
Base:
main← Head:fix/issue-3128-c1📝 Commits (2)
4fe65b0fix(ui): surface the server's reason for a batch 404 (#3128)98be899harden(ui): escape untrusted text before the batch error dialog (#3128)📊 Changes
2 files changed (+4 additions, -8 deletions)
View changed files
📝
js/common.js(+2 -4)📝
js/custom-nodes-manager.js(+2 -4)📄 Description
Summary
Fixes the primary defect of #3128 (section 1): on the batch install and uninstall paths the client discarded the server's
404body and substituted a false lead —That lead is wrong. The install
404comes from either theallow_git_url_installgate (therisky_level == 'high'arm, which routes throughis_dedicated_install_allowed()and never readssecurity_level) or from a node pack that has nonightlyversion — neither of which a channel or security-level change can resolve. The uninstall endpoint does not return404at all, so there the message described a gate the request never reached.The fix drops the
404branch at both sites (js/custom-nodes-manager.js,js/common.js) so it falls through to the existing server-textelsepath. The security404then points the user at the terminal logs — where the denial message corrected in #3157 is printed — and a non-security404states its own reason. No new message is invented and no server code is touched.Relationship to #3157
#3157 fixed #3128 section 2 (the dedicated-install denial messages omitted the loopback half). This PR fixes section 1 — the issue's title defect — which #3157 left unaddressed. With both merged, #3128 is fully resolved.
Verification
Drove the real shipped modules from both trees under
node --preserve-symlinks, stubbing only the network (api.fetchApi) and DOM, capturingapp.ui.dialog.show()— the surface the user actually reads:default channelline.A security error has occurred. Please check the terminal logs; the install path's other404body (doesn't provide nightly version) also surfaces correctly.Scope
Client-only, 2 files,
+13 −4. No server change.Reported in #3128 (section 1) by @plz12345, with this fix suggested there.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.