Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In tempurl middleware, hmac uses the value of account metadata to generate HMAC-SHA1 signature and hmac must accept a str-type string, not a unicode string. The meta dict returned from get_info stroges special chars as unicode however. So just encode it for tempurl using. Closes-Bug: #1242644 Change-Id: I4be62eea014a573efc4748470de57dccf00e431d
- Loading branch information
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters