Skip to content

Conversation

cyjaysong
Copy link
Contributor

在 net/ghttp/ghttp_request_param.go 中 parseForm函数 在 MakeBodyRepeatableRead(true)执行之前解析表单,导致GetBody() 获取不到Body内容

@gqcn gqcn changed the title fix(net/ghttp) parseForm MakeBodyRepeatableRead not effective fix(net/ghttp): MakeBodyRepeatableRead takes not effective when called after ParseForm Feb 11, 2025
@cyjaysong cyjaysong force-pushed the fix/BodyRepeatableRead branch from a88dfb8 to 7f199fe Compare February 11, 2025 08:05
@cyjaysong cyjaysong force-pushed the fix/BodyRepeatableRead branch from 7f199fe to 2441d6f Compare February 11, 2025 08:16
@gqcn gqcn merged commit 7d3b055 into gogf:master Feb 11, 2025
17 checks passed
@cyjaysong cyjaysong deleted the fix/BodyRepeatableRead branch February 18, 2025 09:45
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.

2 participants