Skip to content

Commit

Permalink
Be more certain
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveCTurner committed Jun 25, 2018
1 parent 9de75c6 commit 63caae2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected Response handle(final Request request) throws IOException {
if (handler != null) {
final String bucket = request.getParam("bucket");
if (bucket != null && permittedBucket.equals(bucket) == false) {
// allow a null bucket to support bucket-free APIs like ListBuckets?
// allow a null bucket to support bucket-free APIs
return newError(request.getId(), RestStatus.FORBIDDEN, "AccessDenied", "Bad bucket", "");
}
return handler.handle(request);
Expand Down

0 comments on commit 63caae2

Please sign in to comment.