Changeset 19:52947c2397cf

Show
Ignore:
Timestamp:
07/03/05 11:16:02 (3 years ago)
Author:
Allan Saddi <allan@saddi.com>
branch:
default
convert_revision:
svn:46762da8-4eb7-0310-94e9-d918b60927c8/flup/trunk@1798
Message:

Ensure session identifiers only contain ASCII characters when
using a non-ASCII locale.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    r18 r19  
     12005-07-03  Allan Saddi  <asaddi@europa.saddi.net> 
     2 
     3        * Ensure session identifiers only contain ASCII characters when 
     4          using a non-ASCII locale. Thanks to Ksenia Marasanova for the 
     5          the fix. 
     6 
    172005-06-12  Allan Saddi  <asaddi@europa.saddi.net> 
    28 
  • flup/middleware/session.py

    r12 r19  
    5555    identifierLength = 32 
    5656    # Would be nice if len(identifierChars) were some power of 2. 
    57     identifierChars = string.digits + string.letters + '-_' 
     57    identifierChars = string.digits + string.ascii_letters + '-_' 
    5858 
    5959    def __init__(self, identifier):