Skip to content

Commit

Permalink
Fix: missing sameSite when do context.reset() (#3123)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuigo authored Apr 17, 2022
1 parent 888b14a commit 6854212
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func (c *Context) reset() {
c.Accepted = nil
c.queryCache = nil
c.formCache = nil
c.sameSite = 0
*c.params = (*c.params)[:0]
*c.skippedNodes = (*c.skippedNodes)[:0]
}
Expand Down

0 comments on commit 6854212

Please sign in to comment.