Skip to content

Commit 1a07c30

Browse files
author
Johannes Gijsbers
committed
Don't use locale-dependent string.letters for one time keys:
this could be problematic when matching registration confirmation emails.
1 parent ced1f68 commit 1a07c30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/cgi/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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 $
22

33
__doc__ = """
44
WWW request handler (also used in the stand-alone server).
@@ -32,7 +32,7 @@ class NotModified(HTTPException):
3232
SENDMAILDEBUG = os.environ.get('SENDMAILDEBUG', '')
3333

3434
# used by a couple of routines
35-
chars = string.letters+string.digits
35+
chars = string.ascii_letters+string.digits
3636

3737
# XXX actually _use_ FormError
3838
class FormError(ValueError):

0 commit comments

Comments
 (0)