mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 20:06:03 +08:00
fix(Backend:http_executor): 🔧 prevent splitting JSON data as v… (#4276)
This commit is contained in:
parent
13f4ed6e0e
commit
2c1c660c6e
@ -236,7 +236,7 @@ class HttpExecutor:
|
|||||||
for kv in kv_paris:
|
for kv in kv_paris:
|
||||||
if not kv.strip():
|
if not kv.strip():
|
||||||
continue
|
continue
|
||||||
kv = kv.split(':')
|
kv = kv.split(':', 1)
|
||||||
if len(kv) == 2:
|
if len(kv) == 2:
|
||||||
body[kv[0].strip()] = kv[1]
|
body[kv[0].strip()] = kv[1]
|
||||||
elif len(kv) == 1:
|
elif len(kv) == 1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user