fixed problem with padding in secure sessions in cookies, issue 1239, thanks pearu.peterson

This commit is contained in:
mdipierro
2012-12-23 22:12:19 -06:00
parent ee2c4f339a
commit 1c410638da
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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