mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 10:07:24 +08:00
refactoring
This commit is contained in:
@@ -320,8 +320,6 @@ func makeTestTargetURL(endPoint, bucketName, objectName string, queryValues url.
|
||||
return urlStr
|
||||
}
|
||||
|
||||
|
||||
|
||||
// if object matches reserved string, no need to encode them
|
||||
var reservedObjectNames = regexp.MustCompile("^[a-zA-Z0-9-_.~/]+$")
|
||||
|
||||
|
@@ -100,7 +100,7 @@ type contentLengthRange struct {
|
||||
// PostPolicyForm provides strict static type conversion and validation for Amazon S3's POST policy JSON string.
|
||||
type PostPolicyForm struct {
|
||||
Expiration time.Time // Expiration date and time of the POST policy.
|
||||
Conditions struct { // Conditional policy structure.
|
||||
Conditions struct { // Conditional policy structure.
|
||||
Policies []struct {
|
||||
Operator string
|
||||
Key string
|
||||
|
Reference in New Issue
Block a user