]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix for zonegroup redirect url 15448/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 4 Apr 2017 14:42:44 +0000 (10:42 -0400)
committerNathan Cutler <ncutler@suse.com>
Mon, 19 Jun 2017 18:23:54 +0000 (20:23 +0200)
commit7e3db1519e40ecdde5d7e83798a35f3fca7e5cd8
tree6f1a1e59c4c44bd1780df48653977303d0d65df4
parent45f0396cffe528a752fb8330d2323e1de8d8b8ac
rgw: fix for zonegroup redirect url

local dest_url variable was shadowing the one in the enclosing scope, so
the changes were not applied and no Location header was written on redirect

Fixes: http://tracker.ceph.com/issues/19488
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 542e188a40f0495720b48308372366951ae41e62)
src/rgw/rgw_rest.cc