This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年02月29日 20:07 by AstraLuma, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (7) | |||
|---|---|---|---|
| msg63145 - (view) | Author: Jamie Bliss (AstraLuma) | Date: 2008年02月29日 20:07 | |
The primary offender is in BaseCookie.load(), which uses the test:
type(rawdata) == type("")
which should be:
isinstance(rawdata, basestring)
|
|||
| msg64149 - (view) | Author: Sean Reifschneider (jafo) * (Python committer) | Date: 2008年03月20日 04:43 | |
Fix is inline. |
|||
| msg107426 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2010年06月09日 22:08 | |
Sean, I don't understand 'inline' in this context. |
|||
| msg124001 - (view) | Author: Michael Foord (michael.foord) * (Python committer) | Date: 2010年12月15日 01:55 | |
Presumably not an issue for 3.1/3.2. (Terry - I assume Sean means the fix is in the bug report comment when he says 'inline'.) A patch and a test would still be nice. |
|||
| msg124003 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2010年12月15日 02:34 | |
This is not a security issue, so removal of 2.6 was right the first time. Changing the one line would be easy, but I know nothing about what is correct or if there is even a standard for cookies. |
|||
| msg124020 - (view) | Author: Charles Duffy (charles@dyfis.net) | Date: 2010年12月15日 15:02 | |
Only the Comment field of a cookie is required by RFC2965 to support Unicode -- and several major browsers either mangle or discard cookies containing even high-ASCII values. Consequently, while some kind of unicode support is appropriate to implement, any program depending on end-to-end support for unicode-encoded cookies is in practice behaving perilously. |
|||
| msg334411 - (view) | Author: Martin Panter (martin.panter) * (Python committer) | Date: 2019年01月27日 02:03 | |
Same as Issue 11315, where Éric suggested documenting the behaviour. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:31 | admin | set | github: 46465 |
| 2019年01月27日 02:04:48 | martin.panter | set | status: open -> closed stage: test needed -> resolved |
| 2019年01月27日 02:03:56 | martin.panter | set | nosy:
+ martin.panter messages: + msg334411 resolution: duplicate superseder: unicode support in Cookie module |
| 2014年12月31日 16:19:50 | akuchling | set | nosy:
- akuchling |
| 2010年12月15日 15:02:48 | charles@dyfis.net | set | nosy:
+ charles@dyfis.net messages: + msg124020 |
| 2010年12月15日 02:34:51 | terry.reedy | set | nosy:
akuchling, terry.reedy, jafo, AstraLuma, michael.foord versions: - Python 2.6 messages: + msg124003 stage: test needed |
| 2010年12月15日 01:56:52 | michael.foord | set | nosy:
akuchling, terry.reedy, jafo, AstraLuma, michael.foord versions: + Python 2.6 |
| 2010年12月15日 01:55:45 | michael.foord | set | nosy:
akuchling, terry.reedy, jafo, AstraLuma, michael.foord messages: + msg124001 versions: + Python 2.7, - Python 2.6 |
| 2010年12月15日 01:53:42 | michael.foord | set | nosy:
+ michael.foord |
| 2010年11月12日 20:55:46 | akuchling | set | assignee: akuchling -> |
| 2010年06月09日 22:08:02 | terry.reedy | set | nosy:
+ terry.reedy messages: + msg107426 versions: - Python 2.5 |
| 2008年03月20日 04:43:57 | jafo | set | priority: normal assignee: akuchling messages: + msg64149 keywords: + patch nosy: + akuchling, jafo |
| 2008年02月29日 20:07:48 | AstraLuma | create | |