mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #6764 -- Added some error checking around cookie decoding. Thanks,
Michael Axiak. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8defa8fd27
commit
30bdabb2b0
2 changed files with 12 additions and 3 deletions
|
@ -31,4 +31,8 @@ GET:{},
|
|||
POST:{},
|
||||
COOKIES:{},
|
||||
META:{}>
|
||||
|
||||
>>> from django.http import parse_cookie
|
||||
>>> parse_cookie('invalid:key=true')
|
||||
{}
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue