rgw: fix a typo

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2015-11-30 13:48:10 -08:00
parent 2287ce9ff2
commit ddb4caaf9c

View File

@ -1411,7 +1411,7 @@ int RGWREST::preprocess(struct req_state *s, RGWClientIO *cio)
string encoded_bucket = "/";
encoded_bucket.append(subdomain);
if (s->info.request_uri[0] != '/')
encoded_bucket.append("/'"); // XXX What in the world is this apostrophe?
encoded_bucket.append("/");
encoded_bucket.append(s->info.request_uri);
s->info.request_uri = encoded_bucket;
}