Skip to content

fix(config): treat blank custom request bodies as unset - #3458

Merged
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:main
Oct 19, 2026
Merged

wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:main

Conversation

@wsp1911

@wsp1911 wsp1911 commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Clear empty model editor request bodies before saving and skip JSON
parsing for blank values already stored in legacy configurations.

Preserve non-empty bodies and request modes, and cover cleared drafts
and legacy configuration round trips with regression tests.

Clear empty model editor request bodies before saving and skip JSON
parsing for blank values already stored in legacy configurations.

Preserve non-empty bodies and request modes, and cover cleared drafts
and legacy configuration round trips with regression tests.
@wsp1911
wsp1911 merged commit b3728e6 into GCWing:main Oct 19, 2026
32 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: 清空「自定义请求体」会持久化成空串,加载时 JSON 解析失败并静默丢弃该覆盖

1 participant