diff --git a/cmd/bucket-handlers.go b/cmd/bucket-handlers.go index a7f201772..4cff69254 100644 --- a/cmd/bucket-handlers.go +++ b/cmd/bucket-handlers.go @@ -284,6 +284,7 @@ func (api objectAPIHandlers) PutBucketHandler(w http.ResponseWriter, r *http.Req // requests which do not follow valid region requirements. if s3Error := isValidLocationConstraint(r); s3Error != ErrNone { writeErrorResponse(w, r, s3Error, r.URL.Path) + return } // Proceed to creating a bucket.