Skip to content

Commit

Permalink
FC-2926 Railo S3 path issue with special characters ; control ALL the…
Browse files Browse the repository at this point in the history
… commas in the filename
  • Loading branch information
kenbkoo committed Jan 14, 2015
1 parent fef0acd commit a8c0aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cdn/s3.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@

<!--- URL encode the filename --->
<cfset fullpath = replacelist(urlencodedformat(fullpath),"%2F,%20,%2D,%2E,%5F,%27,%28,%29,%26,%5B,%5D,%21,%25","/, ,-,.,_,',(,),&,[,],!,%")>
<cfset fullpath = replaceNoCase(fullpath, "%2C", ",")>
<cfset fullpath = replaceNoCase(fullpath, "%2C", ",", "all")>

<cfset fullpath = "s3://#arguments.config.accessKeyId#:#arguments.config.awsSecretKey#@#arguments.config.bucket##fullpath#" />

Expand Down

0 comments on commit a8c0aef

Please sign in to comment.