##// END OF EJS Templates
security: limit the maximum password lenght to 72 characters to prevent possible...
security: limit the maximum password lenght to 72 characters to prevent possible server side resource consumption attack. - bcrypt heavy computation can lead to DOS using a very long password .eg 10**8 lenght. - we allowed this on registration or on password update

File last commit:

r1:854a839a default
r2128:f22a9ea9 default
Show More
patch-kombu-msgpack.diff
12 lines | 629 B | text/x-diff | DiffLexer
/ pkgs / patch-kombu-msgpack.diff
diff -rup kombu-1.5.1-orig/kombu/serialization.py kombu-1.5.1/kombu/serialization.py
--- kombu-1.5.1-orig/kombu/serialization.py 2016-03-09 15:11:34.000000000 +0100
+++ kombu-1.5.1/kombu/serialization.py 2016-03-09 15:19:20.000000000 +0100
@@ -318,7 +318,7 @@ def register_msgpack():
"""See http://msgpack.sourceforge.net/"""
try:
import msgpack
- registry.register('msgpack', msgpack.packs, msgpack.unpacks,
+ registry.register('msgpack', msgpack.packb, msgpack.unpackb,
content_type='application/x-msgpack',
content_encoding='binary')
except ImportError: