]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix printing wrong X-Storage-Url in Swift's TempAuth. 9021/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Sun, 24 Apr 2016 15:41:55 +0000 (17:41 +0200)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 9 May 2016 23:02:09 +0000 (16:02 -0700)
commitd93fa132bba597e71c4dd483663d2069e7117bf1
tree0c47dc11842465fb8c1499121acc98817beefe98
parentfdf8dcb772d8313a3a801bf265f022505dba934d
rgw: fix printing wrong X-Storage-Url in Swift's TempAuth.

If the option "rgw_swift_account_in_url" is being set to true,
both user and subuser IDs will be present in the X-Storage-Url
header generated by the implementation of Swift API's TempAuth.
This patch rectifies this behavior and makes that only the user
identifier will be placed there.

Fixes: http://tracker.ceph.com/issues/15667
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 88f4c67d822388d2038454a25ead7e9a11f404b5)
src/rgw/rgw_swift_auth.cc