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

fix: split and add path as segments to HttpUrl.Builder #506

Merged
merged 1 commit into from
Dec 23, 2016

Conversation

balamurugana
Copy link
Member

okhttp.HttpUrl.Builder.addEncodedPathSegment() does encoding '/' even
for encoded path. This patch fixes this by splitting path by '/' and
encodes each segment and add them individually.

Fixes #504

okhttp.HttpUrl.Builder.addEncodedPathSegment() does encoding '/' even
for encoded path.  This patch fixes this by splitting path by '/' and
encodes each segment and add them individually.

Fixes minio#504
@harshavardhana harshavardhana merged commit ba7a78a into minio:master Dec 23, 2016
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.

GetObject is failing with S3 when there are prefixes are involved
2 participants