annotate roundup/cgi/PageTemplates/README.txt @ 5211:f4b6a2a3e605
Fix expiration dates and expire csrf tokens properly
In client.py: add explicit expiration of csrf tokens to
handle_csrf. There is a clean_up() that runs on every client
connection before handle)csrf is invoked, but it only cleans every
hour. With short lived tokens this is insufficient. Also remove
debugging.
In templating.py fix values for seconds/week and minutes per week. The
original values were shifted/transposed and an order of magnitude off.
In test_templating.py again fix seconds/week constant.
| author |
John Rouillard <rouilj@ieee.org> |
| date |
Sun, 19 Mar 2017 17:10:13 -0400 |
| parents |
b9988e118055 |
| children |
|
| rev |
line source |
1049
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1 See <a href="http://dev.zope.org/Wikis/DevSite/Projects/ZPT">the
|
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
2 ZPT project Wiki</a> for more information about Page Templates, or
|
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
3 <a href="http://www.zope.org/Members/4am/ZPT">the download page</a>
|
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
4 for installation instructions and the most recent version of the software.
|
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
5
|
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
6 This Product requires the TAL and ZTUtils packages to be installed in
|
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
7 your Python path (not Products). See the links above for more information.
|