I believe this is a bug. There are currently no means (outside of knowing the folder structure beforehand) to get the folder contents for a folder containing any keys with an invalid character in them.
This means if I have am accessing an S3 folder which I do not have control over I cannot access/list the files within it if the owner has created a single file named e.g. name=myFile.txt.
I can see a few ways of fixing this, but I know you don't accept contributions. My suggestions (which you are obviously free to ignore) are:
- Use a different validator for paths built from response data to the validator used for paths built in general/in requests
- Add some kind of override to allow for user to ignore specified 'invalid' characters (my preference as can then be applied to any path)
I believe this is a bug. There are currently no means (outside of knowing the folder structure beforehand) to get the folder contents for a folder containing any keys with an invalid character in them.
This means if I have am accessing an S3 folder which I do not have control over I cannot access/list the files within it if the owner has created a single file named e.g.
name=myFile.txt.I can see a few ways of fixing this, but I know you don't accept contributions. My suggestions (which you are obviously free to ignore) are: