]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix printing wrong X-Storage-Url in Swift's TempAuth. 8726/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Sun, 24 Apr 2016 15:41:55 +0000 (17:41 +0200)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Wed, 4 May 2016 17:25:32 +0000 (19:25 +0200)
commit88f4c67d822388d2038454a25ead7e9a11f404b5
tree8cd6d213f581aac04f2168ee212ed436920f6e0b
parentda8e779e1c1a49bcdf844ae02985e6419ac64e60
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