Re: [Django] #17225: Salt used for cookie-based sessions isn't consistent with module name

2011-11-21 Thread Django
#17225: Salt used for cookie-based sessions isn't consistent with module name
-+-
 Reporter:  julien   |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |  Version:
Component:  contrib.sessions |   Resolution:  duplicate
 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
-+-
Changes (by jezdez):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 Actually this was fixed as part of r17101 (#17223).

-- 
Ticket URL: 
Django 
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.



Re: [Django] #17225: Salt used for cookie-based sessions isn't consistent with module name

2011-11-14 Thread Django
#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
-+-

Comment (by julien):

 Yes, this "problem" really isn't a huge deal. If we don't make the change,
 then at least a comment could be added in the code, explaining that the
 inconsistency was kept for "backwards compatibility" reasons.

 If one uses trunk in production then one should be aware that they're
 exposing themselves to occasional breakages. For that we reason then we
 could allow ourselves to make the change before 1.4 gets released.

-- 
Ticket URL: 
Django 
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.



Re: [Django] #17225: Salt used for cookie-based sessions isn't consistent with module name

2011-11-14 Thread Django
#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
-+-

Comment (by lukeplant):

 Changing this would break everyone's signed session cookies. This feature
 was added since 1.3, so we are still allowed to change it, but we might
 not want to for the sake of those following trunk.

 The possibility of a future clash here is pretty minimal - it would only
 happen if we also add a django.contrib.sessions.backends.cookies module,
 which presumably would be a cookie backend without signing (what would we
 want that?), and then also change our mind and use signing with it after
 all!

-- 
Ticket URL: 
Django 
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.



Re: [Django] #17225: Salt used for cookie-based sessions isn't consistent with module name (was: Salt)

2011-11-13 Thread Django
#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: 
Django 
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.