#17225: Salt used for cookie-based sessions isn't consistent with module name
-------------------------------------+-------------------------------------
     Reporter:  julien               |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:
    Component:  contrib.sessions     |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Description changed by julien:

Old description:

> The salt used for dumping/loading cookie-based session is
> 'django.contrib.sessions.backends.cookies':
>
> https://code.djangoproject.com/browser/django/trunk/django/contrib/sessions/backends/signed_cookies.py?rev=16466#L92
>
> https://code.djangoproject.com/browser/django/trunk/django/contrib/sessions/backends/signed_cookies.py?rev=16466#L36
>
> It'd make more sense if it were
> 'django.contrib.sessions.backends.signed_cookies'.

New description:

 The salt used for dumping/loading cookie-based sessions is
 'django.contrib.sessions.backends.cookies':

 
https://code.djangoproject.com/browser/django/trunk/django/contrib/sessions/backends/signed_cookies.py?rev=16466#L92

 
https://code.djangoproject.com/browser/django/trunk/django/contrib/sessions/backends/signed_cookies.py?rev=16466#L36

 It'd make more sense if it were
 'django.contrib.sessions.backends.signed_cookies' to reflect the actual
 module name.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17225#comment:1>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to