#11319 closed defect (fixed)
Raising UnicodeEncodeError with unicode text for session key in prefs/advanced page — at Version 7
Reported by: | Jun Omae | Owned by: | Jun Omae |
---|---|---|---|
Priority: | low | Milestone: | 1.0.7 |
Component: | general | Version: | 0.12-stable |
Severity: | normal | Keywords: | preferences |
Cc: | Branch: | ||
Release Notes: |
Fix raising |
||
API Changes: | |||
Internal Changes: |
Description
If submitting unicode text for session key in prefs/advanced page, UnicodeEncodeError
will be raised. I think that the session key should be only ascii characters.
This issue has been originally reported in babel:#332.
Change History (7)
comment:1 by , 10 years ago
Keywords: | preferences added |
---|
comment:2 by , 10 years ago
Milestone: | next-stable-1.0.x → 1.0.3 |
---|---|
Owner: | set to |
Status: | new → assigned |
comment:3 by , 9 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
comment:4 by , 9 years ago
Similar issue reported in th:#12421 and confirmed with Trac 1.0.6. Use of unicode character in session key when restoring session results in UnicodeEncodeError.
comment:5 by , 9 years ago
Milestone: | 1.0.3 → 1.0.7 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Hmm. It seems to be not fixed…. I'll fix it again. We should add functional tests also.
comment:6 by , 9 years ago
Proposed changes in jomae.git@t11319.2 in restore session with unicode characters for session id.
comment:7 by , 9 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Fixed in [14120:14121] again.
Proposed changes in jomae.git@t11319. After the changes, only alphanumeric characters is used for new session key. Because the new session key for anonymous will be used in cookie, I think we should add the limitation.