SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
s3tables: update bucket name validation message
Chris Lu0115e6091901
diff --git a/weed/s3api/s3tables/handler_bucket_create.go b/weed/s3api/s3tables/handler_bucket_create.goindex 476aba125d..eee6275708 100644--- a/weed/s3api/s3tables/handler_bucket_create.go+++ b/weed/s3api/s3tables/handler_bucket_create.go@@ -38,9 +38,9 @@ func (h *S3TablesHandler) handleCreateTableBucket(w http.ResponseWriter, r *httpreturn fmt.Errorf("invalid bucket name length")}- // Validate bucket name characters [a-z0-9_-]+ // Validate bucket name characters [a-z0-9-]if !isValidBucketName(req.Name) {- h.writeError(w, http.StatusBadRequest, ErrCodeInvalidRequest, "bucket name must contain only lowercase letters, numbers, hyphens, and underscores")+ h.writeError(w, http.StatusBadRequest, ErrCodeInvalidRequest, "bucket name must contain only lowercase letters, numbers, and hyphens")return fmt.Errorf("invalid bucket name characters")}