Minor AmazonS3.cfc Bug Fix

Today I identified a subtle bug with the listObjects method of AmazonS3.cfc dealing with delimiters.  If you supply a prefix that ends with a trailing delimiter, certain paths would be returned partially truncated.  Removing the trailing delimiter solves the issue, so there's an easy workaround, but I've added a snippet to take care of that if you inadvertantly pass one in.  The patched CFC is available here.  You can always get the latest version on the project page.

Leave a Reply

You must escape any tags within your comment. Use &lt; instead of < and &gt; instead of >.