comparison roundup/cgi/client.py @ 1791:bcdb2ed730b5

Don't use locale-dependent string.letters for one time keys: this could be problematic when matching registration confirmation emails.
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Sat, 06 Sep 2003 09:45:30 +0000
parents c8614db86be2
children 9bd553ea75fa
comparison
equal deleted inserted replaced
1790:c8614db86be2 1791:bcdb2ed730b5
1 # $Id: client.py,v 1.133 2003-09-06 07:27:30 jlgijsbers Exp $ 1 # $Id: client.py,v 1.134 2003-09-06 09:45:30 jlgijsbers Exp $
2 2
3 __doc__ = """ 3 __doc__ = """
4 WWW request handler (also used in the stand-alone server). 4 WWW request handler (also used in the stand-alone server).
5 """ 5 """
6 6
30 # set to indicate to roundup not to actually _send_ email 30 # set to indicate to roundup not to actually _send_ email
31 # this var must contain a file to write the mail to 31 # this var must contain a file to write the mail to
32 SENDMAILDEBUG = os.environ.get('SENDMAILDEBUG', '') 32 SENDMAILDEBUG = os.environ.get('SENDMAILDEBUG', '')
33 33
34 # used by a couple of routines 34 # used by a couple of routines
35 chars = string.letters+string.digits 35 chars = string.ascii_letters+string.digits
36 36
37 # XXX actually _use_ FormError 37 # XXX actually _use_ FormError
38 class FormError(ValueError): 38 class FormError(ValueError):
39 ''' An "expected" exception occurred during form parsing. 39 ''' An "expected" exception occurred during form parsing.
40 - ie. something we know can go wrong, and don't want to alarm the 40 - ie. something we know can go wrong, and don't want to alarm the

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