Branch: refs/heads/stable/1.5.x
  Home:   https://github.com/django/django
  Commit: 780eaa4779c5e6bd6bdc2c34e71aeae5d1b0dbbd
      
https://github.com/django/django/commit/780eaa4779c5e6bd6bdc2c34e71aeae5d1b0dbbd
  Author: Aymeric Augustin <aymeric.augus...@m4x.org>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M django/core/signing.py

  Log Message:
  -----------
  [1.5.x] Required serializer to use bytes in loads/dumps

loads has no way to tell if it should provide text or bytes to the
serializer; bytes are more reasonnable for a serialized representation,
and are the only option for pickled data.

dumps can perform conversions on the value it receives from the
serializer; but for consistency it seems better to require bytes too.

The current code would cause an exception when loading pickled session
data. See next commit.

Also fixed a bug when checking for compressed data.

Backport of 58a086a from master.


  Commit: 88393357a6839fb4ce57793523bc25b17dc188a4
      
https://github.com/django/django/commit/88393357a6839fb4ce57793523bc25b17dc188a4
  Author: Aymeric Augustin <aymeric.augus...@m4x.org>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M django/contrib/sessions/tests.py

  Log Message:
  -----------
  [1.5.x] Marked cookies-based session expiry test as an expected failure.

Refs #19201.

Backport of 58337b3 from master.


Compare: https://github.com/django/django/compare/f105fbe52b21...88393357a683

-- 
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 https://groups.google.com/groups/opt_out.


Reply via email to