Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Name the auth cookie __Host- where it can be
Without the prefix any host under the same domain could set a cgitauth cookie of its own, signing a visitor in as someone else or out.
Diffstat (limited to 'tests/extensions/test-auth.lua')
-rw-r--r--tests/extensions/test-auth.lua77
1 file changed, 51 insertions, 26 deletions