diff --git a/weed/s3api/s3api_server.go b/weed/s3api/s3api_server.go index 53d99055c..5cf71114b 100644 --- a/weed/s3api/s3api_server.go +++ b/weed/s3api/s3api_server.go @@ -25,7 +25,7 @@ import ( ) const ( - BucketPathTpl = "/{object:[a-z0-9][a-z0-9-]+[a-z0-9]}" + BucketPathTpl = "/{object:[a-z0-9].+[a-z0-9]}" ) type S3ApiServerOption struct {