Skip to content

Commit 93dd49a

Browse files
thinkerouThomasObenaus
authored andcommitted
Attempt to fix PostForm cache bug (gin-gonic#1931)
1 parent baeafc2 commit 93dd49a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

context.go

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ func (c *Context) reset() {
8383
c.Errors = c.Errors[0:0]
8484
c.Accepted = nil
8585
c.queryCache = nil
86+
c.formCache = nil
8687
}
8788

8889
// Copy returns a copy of the current context that can be safely used outside the request's scope.

0 commit comments

Comments
 (0)