Message251538
| Author |
Tim.Graham |
| Recipients |
Tim.Graham |
| Date |
2015年09月24日.16:57:55 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1443113876.69.0.763546669405.issue25228@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Regression in https://hg.python.org/cpython/rev/9e765e65e5cb (affects 2.7 and 3.2+), similar to issue22931 where inserting an invalid cookie value can cause the rest of the cookie to be ignored. A test is attached, and here's a quick demo:
Old:
>>> from http.cookies import SimpleCookie
>>> SimpleCookie('a=b; messages=[\"\"]; c=d;')
{'a': 'b', 'c': 'd', 'messages': ''}
New:
>>> SimpleCookie('a=b; messages=[\"\"]; c=d;')
{'a': 'b'}
Reported in Django's tracker, but Django simply delegates to SimpleCookie: https://code.djangoproject.com/ticket/25458 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年09月24日 16:57:56 | Tim.Graham | set | recipients:
+ Tim.Graham |
| 2015年09月24日 16:57:56 | Tim.Graham | set | messageid: <1443113876.69.0.763546669405.issue25228@psf.upfronthosting.co.za> |
| 2015年09月24日 16:57:56 | Tim.Graham | link | issue25228 messages |
| 2015年09月24日 16:57:56 | Tim.Graham | create |
|