]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Guard against malformed bucket URLs 47194/head
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 8 Jul 2022 18:58:16 +0000 (14:58 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 20 Jul 2022 18:48:04 +0000 (14:48 -0400)
commit9746e8011ff1de6de7dba9c0041e28a16c8f6828
tree6e477f98d1f40fcd46c56f139a0fef27c5202064
parent95c6c2d209a877b934e05e727a181de8c68accd3
rgw: Guard against malformed bucket URLs

Misplaced colons can result in radosgw thinking is has a bucket URL
but with no bucket name, leading to a crash later on.

Fixes: https://tracker.ceph.com/issues/55765
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 3ee9a3b41a289a926fed8b8927ca2a93b4f120a6)
Fixes: https://tracker.ceph.com/issues/56586
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_common.cc