]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix the subdir without slash of s3 website url 15703/head
authorliuhong <liuhong@cmss.chinamobile.com>
Thu, 15 Jun 2017 07:28:23 +0000 (15:28 +0800)
committerliuhong <liuhong@cmss.chinamobile.com>
Thu, 29 Jun 2017 02:25:05 +0000 (10:25 +0800)
commite817e22705ac4f6935cd2b1510446059e69b2499
tree1f7b741f45ccbf2cfd0dacb7ea477eb0a991e14e
parent5daf94ce728359badad0a5aaa7d1101b2e76b91d
 rgw: fix the subdir without slash of s3 website url

if we use the subdir without slash, we cannot visit the default index.html,
which we configured.It is not consistent with AWS S3.

Fixes: http://tracker.ceph.com/issues/20307
Signed-off-by: liuhong <liuhong@cmss.chinamobile.com>
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3website.h
src/rgw/rgw_website.cc
src/rgw/rgw_website.h