view roundup/cgi/ZTUtils/__init__.py @ 5287:07617c8d4efc

applying upgrade of 1.5.1 -> 1.6.0. Upgraded login form. Added @csrf tokens to forms using post. Fix security issue by displaying username without escaping html entities. User queries hrefs have their names url quoted which makes multi word queries a valid url.
author John Rouillard <rouilj@ieee.org>
date Sun, 24 Sep 2017 19:19:28 -0400
parents 6e3e4f24c753
children d26921b851c3
line wrap: on
line source

##############################################################################
#
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
# 
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
# 
##############################################################################
__doc__='''Package of template utility classes and functions.

Modified for Roundup 0.5 release:

- removed Zope imports
'''
__docformat__ = 'restructuredtext'

from Batch import Batch
from Iterator import Iterator


Roundup Issue Tracker: http://roundup-tracker.org/