mirror of
https://github.com/minio/minio.git
synced 2025-11-24 03:27:44 -05:00
bucket-policy parset tests, and bug fixes (#1317)
This commit is contained in:
committed by
Harshavardhana
parent
6b3fc03701
commit
188bb92d8a
@@ -61,7 +61,7 @@ func enforceBucketPolicy(action string, bucket string, reqURL *url.URL) (s3Error
|
||||
// Get conditions for policy verification.
|
||||
conditions := make(map[string]string)
|
||||
for queryParam := range reqURL.Query() {
|
||||
conditions[queryParam] = reqURL.Query().Get("queryParam")
|
||||
conditions[queryParam] = reqURL.Query().Get(queryParam)
|
||||
}
|
||||
|
||||
// Validate action, resource and conditions with current policy statements.
|
||||
|
||||
Reference in New Issue
Block a user