commit abcecd26a7b5871f75f0fbddf0d08bbac95bb089
Author: Kun Huang <email address hidden>
Date: Wed Oct 23 21:19:01 2013 +0800
utf8 encode tempurl key
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.
Reviewed: https:/ /review. openstack. org/53048 github. com/openstack/ swift/commit/ abcecd26a7b5871 f75f0fbddf0d08b bac95bb089
Committed: http://
Submitter: Jenkins
Branch: master
commit abcecd26a7b5871 f75f0fbddf0d08b bac95bb089
Author: Kun Huang <email address hidden>
Date: Wed Oct 23 21:19:01 2013 +0800
utf8 encode tempurl key
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 3efc4748470de57 dccf00e431d
Change-Id: I4be62eea014a57