#19387: CookieStorage does not encode/decode SafeData properly
----------------------------------+--------------------
Reporter: bak1an | Owner: bak1an
Type: Bug | Status: new
Component: contrib.messages | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------
When i'm trying to send a Message to user with some SafeData inside (e.g.
a link) and message is saved in CookieStorage i get just str back from
storage. With SessionStorage everything works, which is expected because
it does not converts messages to json and back.
Here is a branch with tests and proposed solution:
[https://github.com/bak1an/django/compare/cookie_storage cookie_storage]
--
Ticket URL: <https://code.djangoproject.com/ticket/19387>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.