Changeset 19:52947c2397cf
- 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
| r18 |
r19 |
|
| | 1 | 2005-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 | |
|---|
| 1 | 7 | 2005-06-12 Allan Saddi <asaddi@europa.saddi.net> |
|---|
| 2 | 8 | |
|---|
| r12 |
r19 |
|
| 55 | 55 | identifierLength = 32 |
|---|
| 56 | 56 | # Would be nice if len(identifierChars) were some power of 2. |
|---|
| 57 | | identifierChars = string.digits + string.letters + '-_' |
|---|
| | 57 | identifierChars = string.digits + string.ascii_letters + '-_' |
|---|
| 58 | 58 | |
|---|
| 59 | 59 | def __init__(self, identifier): |
|---|