https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2017-03-13T09:50:53ZCeph rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=875222017-03-13T09:50:53ZChang Liuliuchang0812@gmail.com
<ul></ul><p>try to urlencode ?</p> rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=875342017-03-14T03:27:16ZAlbert Tume@chiehtu.net
<ul></ul><p>Chang Liu wrote:</p>
<blockquote>
<p>try to urlencode ?</p>
</blockquote>
<p>It's not work because the URL will be decoded in <a href="https://github.com/ceph/ceph/blob/jewel/src/rgw/rgw_rest.cc#L1824" class="external">RGWREST::preprocess()</a></p> rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=876002017-03-16T05:31:45ZChang Liuliuchang0812@gmail.com
<ul></ul><p>Albert Tu wrote:</p>
<blockquote>
<p>Chang Liu wrote:</p>
<blockquote>
<p>try to urlencode ?</p>
</blockquote>
<p>It's not work because the URL will be decoded in <a href="https://github.com/ceph/ceph/blob/jewel/src/rgw/rgw_rest.cc#L1824" class="external">RGWREST::preprocess()</a></p>
</blockquote>
<p>Albert, AWS's document says that bucket name contains alpha, number and '.' only. Maybe We should add more check in BucketCreate process.</p> rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=876012017-03-16T06:02:20ZRobin Johnsonrobbat2@gentoo.org
<ul></ul><p>The swift container rules are very lax compared to S3: 256 bytes of UTF-8 characters and no slash. <a class="external" href="https://docs.openstack.org/developer/swift/api/object_api_v1_overview.html">https://docs.openstack.org/developer/swift/api/object_api_v1_overview.html</a></p>
<p>The S3 rules are here: <a class="external" href="http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html">http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html</a><br />Note that Ceph has previously allowed most of the AWS US-East-1 style with some strict elements.</p>
<p>I'll spin a patch that enforces no slash in swift containers.</p> rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=876022017-03-16T06:07:34ZRobin Johnsonrobbat2@gentoo.org
<ul></ul><p><a class="external" href="https://github.com/ceph/ceph/pull/13992">https://github.com/ceph/ceph/pull/13992</a></p> rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=876332017-03-17T06:38:17ZChang Liuliuchang0812@gmail.com
<ul></ul><p>Yep, I will try to add limitation for S3 bucket name</p> rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=876432017-03-17T12:10:31ZChang Liuliuchang0812@gmail.com
<ul></ul><p><a class="external" href="https://github.com/ceph/ceph/pull/14016">https://github.com/ceph/ceph/pull/14016</a></p> rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=877312017-03-21T08:56:46ZAlbert Tume@chiehtu.net
<ul></ul><p>The missing part.</p>
<p><a class="external" href="https://github.com/ceph/ceph/pull/14062">https://github.com/ceph/ceph/pull/14062</a></p> rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=878112017-03-21T18:44:16ZCasey Bodleycbodley@redhat.com
<ul></ul><p>The entries returned by 'radosgw-admin bucket list' are prefixed with tenant names. If you need to refer to these buckets externally, you will need to manually parse and remove the 'tenant/' part yourself.</p> rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=880762017-03-28T07:55:36ZAlbert Tume@chiehtu.net
<ul></ul><p><a class="external" href="https://github.com/ceph/ceph/pull/14182">https://github.com/ceph/ceph/pull/14182</a></p> rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=881682017-03-29T04:40:14ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li></ul> rgw - Bug #19264: rgw: bucket name that include slash causes public access failedhttps://tracker.ceph.com/issues/19264?journal_id=1603372020-03-05T15:00:24ZDaniel Gryniewiczdang@redhat.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Resolved</i></li></ul>