Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Take a signed cookie apart with one match
The loop let a valid cookie through with a field appended, a doubled separator or a zero in front of its expiry. The payload now carries the expiry as written, so only the spelling secure_value issues verifies.
Diffstat (limited to 'custom/extensions')
-rw-r--r--custom/extensions/auth-file.lua46
-rw-r--r--custom/extensions/auth-inline.lua46
2 files changed, 10 insertions, 82 deletions