Commit Graph

3 Commits

Author SHA1 Message Date
Darren Shepherd
5880c657c3 Fix map concurrent read/write
(cherry picked from commit 72db28d5ea)
Signed-off-by: niusmallnan <niusmallnan@gmail.com>
2020-11-12 15:01:50 +08:00
Darren Shepherd
0846768069 CSRF Cookie fixes
- Only set the cookie if it doesn't exist
- Always mark it secure (it was previously getting re-sent as not)
- Check the value against the header even if there was no value (so that
a request that is missing the cookie but should have had one fails).
2020-02-26 12:35:24 -07:00
Darren Shepherd
8b42d0aff8 Refactor 2020-01-30 22:37:59 -07:00