]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: use s3website REST when higher priority and no host header
authorSeena Fallah <seenafallah@gmail.com>
Fri, 28 Jun 2024 10:30:54 +0000 (12:30 +0200)
committerSeena Fallah <seenafallah@gmail.com>
Fri, 28 Jun 2024 10:30:54 +0000 (12:30 +0200)
commit5913f584cba6e8fab9f03a7b28c7792d26e01256
treea2722f3095ebbf6c47bfff384e4c471626d3bb45
parentcbc6d66d9486a2f600fd58e91cf38c1f08c45bf1
rgw: use s3website REST when higher priority and no host header

If the Host header is missing, but the s3website API is enabled and
has a higher priority than the regular S3 API, then we should still
treat the request as a website request.

Fixes: https://tracker.ceph.com/issues/66748
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
src/rgw/rgw_rest.cc