Skip to content

Commit

Permalink
fix: missing sameSite when do context.reset()
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuigo committed Apr 15, 2022
1 parent c458094 commit e4ce469
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,4 +1,5 @@
vendor/*
/.vscode
!vendor/vendor.json
coverage.out
count.out
Expand Down
1 change: 1 addition & 0 deletions context.go
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 e4ce469

Please sign in to comment.