#32643: CookieStorage for contrib.messages crashes after upgrade to django 3.2
-------------------------------------+-------------------------------------
     Reporter:  Jan Pieter           |                    Owner:  nobody
  Waagmeester                        |
         Type:  Bug                  |                   Status:  new
    Component:  contrib.messages     |                  Version:  3.2
     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 Florian Apolloner):

 Thanks,  I think I understand what is going on. Out of pure luck we
 created test messages that properly decode from base64. They then fail
 json decoding and fall back to the old mechanism. I think we need to add
 `binascii.Error` to
 
https://github.com/django/django/commit/2d6179c819010f6a9d00835d5893c4593c0b85a0
 #diff-6c5e944e6869d04c50af2ee02dd85c621177547eb7771d11066f452788d483f4R185

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32643#comment:6>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.0ef0657cb19f4e6d93d8c473798bc3e1%40djangoproject.com.

Reply via email to