Commit 6edf369
committed
fix(manager): migrate 4 endpoints GET→POST for CSRF hardening
Align with Comfy-Org/ComfyUI-Manager#2818 (CSRF Content-Type gate).
Convert START_QUEUE, UPDATE_ALL, UPDATE_COMFYUI, REBOOT to POST with
body=null and preserved query params where present. Request shape is
compatible with both the current GET backend and the upcoming
POST-only backend: body=null + axios default application/json header
is explicitly allowed by the backend's reject_simple_form_post gate
(only x-www-form-urlencoded, multipart/form-data, text/plain are
rejected).
Refs: Comfy-Org/ComfyUI-Manager#28181 parent bea7241 commit 6edf369
1 file changed
Lines changed: 4 additions & 4 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
0 commit comments