use url.URL.Query instead of parsing query (#2063)
This commit is contained in:
parent
f45c83c70c
commit
2e5a7196cc
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user