Actions
Feature #38999
openRedirect anonymous ListAllMyBuckets to configurable location
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Currently an anonymous `curl http://rgw-host` returns this result:
<ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <Owner> <ID>anonymous</ID> <DisplayName/> </Owner> <Buckets/> </ListAllMyBucketsResult>
It would be nice if we could enable a 307 Temporary Redirect location, to bring users to an html product or help page. E.g.:
$ curl -i s3.amazonaws.com HTTP/1.1 307 Temporary Redirect x-amz-id-2: f7Vn3v/mVAr/jjbMFCZnnN6CvRzxr2bk4QpLlqekbtfOd8u4Yc5uZEJCbKDk4nVZSDeDAyM/kcM= x-amz-request-id: FEDFE0602C5AF73B Date: Thu, 28 Mar 2019 10:54:20 GMT Location: https://aws.amazon.com/s3/ Content-Length: 0 Server: AmazonS3
No data to display
Actions