Skip to content

Commit

Permalink
Merge pull request #11102 from ceph/wip-17279
Browse files Browse the repository at this point in the history
rgw: revert a commit that broke s3 signature validation
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
  • Loading branch information
oritwas committed Sep 16, 2016
2 parents b1a2e77 + b4dd18c commit 0029f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_rest.cc
Expand Up @@ -1826,7 +1826,7 @@ int RGWREST::preprocess(struct req_state *s, RGWClientIO* cio)
if (subdomain.empty()
&& (domain.empty() || domain != info.host)
&& !looks_like_ip_address(info.host.c_str())
&& RGWHandler_REST::validate_bucket_name(info.host) == 0) {
&& RGWHandler_REST::validate_bucket_name(info.host)) {
subdomain.append(info.host);
in_hosted_domain = 1;
}
Expand Down

0 comments on commit 0029f99

Please sign in to comment.