Opened 12 years ago

Last modified 12 years ago

#17225 closed Cleanup/optimization

Salt used for cookie-based sessions isn't consistent with module name — at Version 1

Reported by: Julien Phalip Owned by: nobody
Component: contrib.sessions Version:
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Julien Phalip)

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.

Change History (1)

comment:1 by Julien Phalip, 12 years ago

Description: modified (diff)
Summary: SaltSalt used for cookie-based sessions isn't consistent with module name
Note: See TracTickets for help on using tickets.
Back to Top