From 7453abc7fc8233935e3d8d596849444b6d15d9e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Khu=CC=81c=20Ngo=CC=A3c=20Huy?= Date: Mon, 25 Sep 2023 22:24:47 +0700 Subject: [PATCH] :recycle: revert code to use c.app.getString --- ctx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctx.go b/ctx.go index 7be0c0e85c..3958b07243 100644 --- a/ctx.go +++ b/ctx.go @@ -417,8 +417,8 @@ func (c *Ctx) parseFormBody(args *fasthttp.Args, out interface{}) (map[string][] return } - k := string(key) - v := string(val) + k := c.app.getString(key) + v := c.app.getString(val) if strings.Contains(k, "[") { k, err = parseParamSquareBrackets(k)