mirror of
https://github.com/etesync/server
synced 2024-11-22 08:48:07 +00:00
b64: don't add redundant padding.
This commit is contained in:
parent
2e018dfe76
commit
3db204e4bb
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user