]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix printing wrong X-Storage-Url in Swift's TempAuth.
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Sun, 24 Apr 2016 15:41:55 +0000 (17:41 +0200)
committerBoris Ranto <branto@redhat.com>
Fri, 6 May 2016 11:44:16 +0000 (13:44 +0200)
commit4baf488edc53e5f9eb63e4cb33e8d22345b0ca1e
tree3c80731497e8d2e911561a9ac778a2b0367e8c20
parent71cbc832ded17212d840afa709700a2ca1a498b9
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>
src/rgw/rgw_swift_auth.cc