fixed problem with padding in secure sessions in cookies, issue 1239, thanks pearu.peterson
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.4.1-alpha.1+timestamp.2012.12.23.15.06.58
|
||||
Version 2.4.1-alpha.1+timestamp.2012.12.23.22.11.34
|
||||
|
||||
+1
-1
@@ -119,7 +119,7 @@ DIGEST_ALG_BY_SIZE = {
|
||||
}
|
||||
|
||||
|
||||
def pad(s, n=32, padchar='.'):
|
||||
def pad(s, n=32, padchar=' '):
|
||||
return s + (32 - len(s) % 32) * padchar
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user