#19324: invalid session keys cause unnecessary empty records in django_session
table
----------------------------------+------------------------------------
     Reporter:  liangrubo@…       |                    Owner:  nobody
         Type:  Bug               |                   Status:  closed
    Component:  contrib.sessions  |                  Version:  1.4
     Severity:  Normal            |               Resolution:  fixed
     Keywords:                    |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+------------------------------------

Comment (by lamby):

 Now the issue has been disclosed, could the logic be very briefly
 documented in the code itself? Stripped of context of this security issue,
 not immediately obvious why — for example — only if session_key is None we
 want to call .create(), etc. etc.

--
Ticket URL: <https://code.djangoproject.com/ticket/19324#comment:7>
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/077.64b64a49be33b9a63b544676f0169bc0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to