1
0
mirror of https://github.com/etesync/server synced 2024-11-13 20:38:55 +00:00

b64: don't add redundant padding.

This commit is contained in:
Tom Hacohen 2020-04-15 16:50:47 +03:00
parent 2e018dfe76
commit 3db204e4bb

View File

@ -28,7 +28,7 @@ def generate_rev_uid(length=32):
def b64encode(value):
return base64.urlsafe_b64encode(value).decode('ascii')
return base64.urlsafe_b64encode(value).decode('ascii').strip('=')
def b64decode(data):