Skip to content

Fix for issue #68: decode key before list_objects#93

Open
ChinnoDog wants to merge 1 commit intoPyFilesystem:masterfrom
ChinnoDog:bugs/68
Open

Fix for issue #68: decode key before list_objects#93
ChinnoDog wants to merge 1 commit intoPyFilesystem:masterfrom
ChinnoDog:bugs/68

Conversation

@ChinnoDog
Copy link

When listing directory contents the parent directory is enumerated and then metadata is obtained for each child object. The keys in the parent directory are URL encoded. These need to be decoded before obtaining the metadata because boto3 will URL encode them again, resulting in a double encoding.

This issue is easy to test by using scandir to obtain contents of a directory that contain file names with characters that will be URL encoded, such as spaces.

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.

1 participant