#32191: Not RFC 6265 compliant cookies in contrib.messages.
----------------------------------+---------------------------------------
     Reporter:  Nico Giefing      |                    Owner:  Craig Smith
         Type:  Bug               |                   Status:  assigned
    Component:  contrib.messages  |                  Version:  3.1
     Severity:  Normal            |               Resolution:
     Keywords:  Cookie malformed  |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+---------------------------------------

Comment (by Craig Smith):

 Hi All, I'm having a terrible time of it due to encoding back and forth,
 and the fact that different encodings are used from place to place -
 utf-8, latin-1 and ascii (in session file storage). It feels like if I
 take a break from it and start over next week I could get somewhere - in
 the meantime, I am reading up on Unicode... If anyone else would like to
 jump in please do, if not, I'll get back into it next week.

 The original suggestion to use `quote` `unquote` works and can be found in
 
[https://github.com/django/django/pull/13690/commits/89fbaf7e65cad6a71f5800ee5e4e7cb89514624e
 this commit]. I might submit a separate PR just for that one, in case we
 can go with that.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32191#comment:21>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.f79e23774f8d7b9c2631776e483fdadf%40djangoproject.com.

Reply via email to