From 561a4fd12c713078b3b13bbaeb11a64415c75a1e Mon Sep 17 00:00:00 2001 From: thinkerou Date: Thu, 6 Jun 2019 09:38:53 +0800 Subject: [PATCH] Attempt to fix PostForm cache bug --- context.go | 1 + 1 file changed, 1 insertion(+) diff --git a/context.go b/context.go index ffb9a2de..77cdc182 100644 --- a/context.go +++ b/context.go @@ -83,6 +83,7 @@ func (c *Context) reset() { c.Errors = c.Errors[0:0] c.Accepted = nil c.queryCache = nil + c.formCache = nil } // Copy returns a copy of the current context that can be safely used outside the request's scope.