Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signV4: Fix signature issue while doing multipart upload. #504

Merged
merged 1 commit into from
Apr 17, 2017

Conversation

harshavardhana
Copy link
Member

@harshavardhana harshavardhana commented Apr 15, 2017

Setting query params in the following manner fails to
generate the proper query params used for validating
signature.

query = {'test': None}

Generates a url of form /?test doesn't work.

query = {'test': ''}

Generates a url of form /?test= works.

@harshavardhana harshavardhana force-pushed the uploads-sign branch 2 times, most recently from d7c6db4 to 0e38b3f Compare April 15, 2017 23:59
Setting query params in the following manner fails to
generate the proper query params used for validating
signature.

```
query = {'test': None}
```
Generates a url of form `/?test` doesn't work.

```
query = {'test': ''}
```

Generates a url of form `/?test=`  works.
@harshavardhana harshavardhana requested review from krisis and vadmeste and removed request for donatello and balamurugana April 17, 2017 19:17
@harshavardhana harshavardhana merged commit 340f88c into minio:master Apr 17, 2017
@harshavardhana harshavardhana deleted the uploads-sign branch April 17, 2017 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants