#24422: Messages framework not correctly encoding messages
-------------------------------+--------------------------------------
Reporter: YPCrumble | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.7
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by YPCrumble):
I'm using Python 2.7.9.
I get the same issue when DjDT is not installed - the DjDT cookies just
aren't there in that case, but the messages cookie still messes things up
because it still has that `$` in the middle.
I'm somewhat new - let me know what info you'd like me to provide? If it
is an error I'd love to contribute a commit, but I haven't contributed to
open source code before so I'm not sure how to make that happen.
I believe the error is getting caught in line 91 of django.http.cookie.py.
The SimpleCookie referenced there can't access the messages cookie, which
has that `$` to split the cookie and the messages.
--
Ticket URL: <https://code.djangoproject.com/ticket/24422#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.875a710cfa4b6245a6d2090606eb9184%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.