Reviewed: https://review.openstack.org/165279 Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=68a54c2cf1a7210abae9292aede5737203eb733a Submitter: Jenkins Branch: master
commit 68a54c2cf1a7210abae9292aede5737203eb733a Author: Dolph Mathews <email address hidden> Date: Wed Mar 18 03:18:31 2015 +0000
URL quote Fernet tokens
The padding in base64.urlsafe_b64encode()'s output is not actually URL safe, so you have to quote the result when it's of variable length.
In addition, Fernet tokens can always be handled as bytes, despite being passed in from json.loads() as Unicode.
Change-Id: I72dbd4ddc066706f6af6ea2f2bcd5f0a6cb9b30c Closes-Bug: 1433372 Closes-Bug: 1431669
Reviewed: https:/ /review. openstack. org/165279 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=68a54c2cf1a 7210abae9292aed e5737203eb733a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 68a54c2cf1a7210 abae9292aede573 7203eb733a
Author: Dolph Mathews <email address hidden>
Date: Wed Mar 18 03:18:31 2015 +0000
URL quote Fernet tokens
The padding in base64. urlsafe_ b64encode( )'s output is not actually URL
safe, so you have to quote the result when it's of variable length.
In addition, Fernet tokens can always be handled as bytes, despite being
passed in from json.loads() as Unicode.
Change-Id: I72dbd4ddc06670 6f6af6ea2f2bcd5 f0a6cb9b30c
Closes-Bug: 1433372
Closes-Bug: 1431669