Permalink
Browse files

Update change log to reflect release date and bug fix for key_length …

…comparison.
  • Loading branch information...
1 parent 4733630 commit b5ab1dab824f036839ffa22f247feb1fd03b12b2 @bbangert committed Aug 13, 2012
Showing with 13 additions and 3 deletions.
  1. +12 −2 CHANGELOG
  2. +1 −1 beaker/cache.py
View
@@ -1,6 +1,16 @@
-Release 1.6.4 (**tip**)
-=======================
+Release 1.6.4 (8/13/2012)
+=========================
+* Fix bug with key_length not being coerced to a int for comparison. Patch by
+ Greg Lavallee.
+* Fix bug with cookie invalidation not clearing the cookie data. Patch by
+ Vasiliy Lozovoy.
+* Added ability to pass in cookie_path for the Session. Patch by Marcin
+ Kuzminski.
+* Add NSS crypto support to Beaker. Patch by Miloslav Trmac of Redhat.
+* Fix security bug with pycrypto not securing data such that an attacker could
+ possibly determine parts of the encrypted payload. Patch by Miloslav Trmac of
+ Redhat.
* Add ability to specify schema for database-backed sessions. Patch by Vladimir
Tananko.
* Fix issue with long key names in memcached backend. Patch by Guillaume
View
@@ -563,7 +563,7 @@ def cached(*args):
key_length = cache_regions[region]['key_length']
else:
key_length = kwargs.pop('key_length', 250)
- if len(cache_key) + len(namespace) > key_length:
+ if len(cache_key) + len(namespace) > int(key_length):
cache_key = sha1(cache_key).hexdigest()
def go():

0 comments on commit b5ab1da

Please sign in to comment.