From 698a02beb1d626f3eb8d01dec72273ddf9870dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yingyi=20/=20=E9=A2=96=E9=80=B8?= <49649786+Zuoqiu-Yingyi@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:06:46 +0800 Subject: [PATCH] :bug: Fix the issue of unparsing `PostForm` (#9746) --- kernel/api/network.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/api/network.go b/kernel/api/network.go index 0dbdd7785..5b5478fb4 100644 --- a/kernel/api/network.go +++ b/kernel/api/network.go @@ -22,6 +22,7 @@ import ( "encoding/hex" "fmt" "io" + "math" "net/http" "net/url" "strings" @@ -45,6 +46,8 @@ func echo(c *gin.Context) { } else { rawData = nil } + c.Request.ParseForm() + c.Request.ParseMultipartForm(math.MaxInt64) ret.Data = map[string]interface{}{ "Context": map[string]interface{}{