From 1518baebafdacf4c86f3214dae135025fc931656 Mon Sep 17 00:00:00 2001 From: Santhosh Date: Thu, 19 Sep 2019 17:50:27 +0530 Subject: [PATCH] use url.URL.Query instead of parsing query --- context.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/context.go b/context.go index d9fcc285..d49a7230 100644 --- a/context.go +++ b/context.go @@ -393,8 +393,7 @@ func (c *Context) QueryArray(key string) []string { func (c *Context) getQueryCache() { if c.queryCache == nil { - c.queryCache = make(url.Values) - c.queryCache, _ = url.ParseQuery(c.Request.URL.RawQuery) + c.queryCache = c.Request.URL.Query() } }