If I try to list the files in an S3 directory using the built-in S3 integration in ColdFusion 9, I get an exception when any of the files contains a % (percent) character. The full error message looks like this:
An error occurred when performing a file operation listFiles on file /activities/18057/files.
The cause of this exception was: org.apache.commons.vfs.FileSystemException: Unknown message with code "Invalid URI escape sequence "%ui"."..
I think this is a ColdFusion bug caused by overzealous character escaping, but can anyone with S3 integration try it themselves to confirm? I'm literally just doing this:
<cfset var files = directoryList("s3://my.bucket.path/somefolder/")/>
It works find for "normal" files, but fails as soon as one of the files has a % in its filename.
%25
instead?