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

Unescape URI encoded returns in listObjectsResult #337

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

harshavardhana
Copy link
Member

@harshavardhana harshavardhana commented Sep 23, 2019

8bd4c65 added encoding-type
this broke recursive listing for special characters due to
wrong marker calculation, this PR fixes this.

@harshavardhana harshavardhana changed the title Unescape URI encoded returns in listObjectsResult Unescape URI encoded returns in listObjectsResult Sep 23, 2019
@krisis
Copy link
Member

krisis commented Sep 23, 2019

@harshavardhana do you have a test case to recreate the issue this PR is fixing? Does this problem happen in minio-go too after minio/minio-go#1161?

@harshavardhana
Copy link
Member Author

@harshavardhana do you have a test case to recreate the issue this PR is fixing? Does this problem happen in minio-go too after minio/minio-go#1161?

Yes and here it is

To reproduce

~ for i in $(seq 1 1001); do mc cp 1++1 myminio-local1/testbucket/prefix/1++1-${i}; done
~ mc ls myminio-local1/testbucket/prefix/

This will hang forever listing first 1000 entries repeatedly.

Minio.Tests/TestHelper.cs Outdated Show resolved Hide resolved
8bd4c65 added encoding-type
this broke recursive listing for special characters due to
wrong marker calculation, this PR fixes this.
@kannappanr kannappanr merged commit fceed5c into minio:master Sep 23, 2019
@harshavardhana harshavardhana deleted the make-sure branch September 23, 2019 20:06
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.

None yet

4 participants