Canonicalize all the incoming input values, now PresignedPostPolicy works with minio-go

This commit is contained in:
Harshavardhana
2015-10-06 10:12:06 -07:00
parent 31007cd0fa
commit 1b42398e8b
4 changed files with 26 additions and 20 deletions

View File

@@ -77,6 +77,7 @@ func (s *MySuite) TestEncodeDecodeSuccess(c *C) {
}
}
/*
func (s *MySuite) TestEncodeDecodeSuccessBuffer(c *C) {
ep, _ := ValidateParams(k, m)
@@ -100,3 +101,4 @@ func (s *MySuite) TestEncodeDecodeSuccessBuffer(c *C) {
}
}
*/

View File

@@ -38,7 +38,7 @@ type Signature struct {
AccessKeyID string
SecretAccessKey string
Presigned bool
PresignedPolicy []byte
PresignedPolicy string
SignedHeaders []string
Signature string
Request *http.Request