Skip to content

Commit

Permalink
FC-2926 Railo S3 path issue with special characters ; '@' added to th…
Browse files Browse the repository at this point in the history
…e encoding list
  • Loading branch information
kenbkoo committed Jan 14, 2015
1 parent a8c0aef commit c1881f3
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 @@ -225,7 +225,7 @@
<cfset fullpath = arguments.config.pathPrefix & fullpath />

<!--- URL encode the filename --->
<cfset fullpath = replacelist(urlencodedformat(fullpath),"%2F,%20,%2D,%2E,%5F,%27,%28,%29,%26,%5B,%5D,%21,%25","/, ,-,.,_,',(,),&,[,],!,%")>
<cfset fullpath = replacelist(urlencodedformat(fullpath),"%2F,%20,%2D,%2E,%5F,%27,%28,%29,%26,%5B,%5D,%21,%25,%40","/, ,-,.,_,',(,),&,[,],!,%,@")>
<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 c1881f3

Please sign in to comment.