 <!--- set rtn values --->
 <cftry>
 	<cfif NOT rtn.err >
-		<cfset rtn.url 		= rawURL />
+		<cfset rtn.url 		= Trim(rawURL) />
 	</cfif>				
 
 	<cfcatch type="any">
 		<cfset rtn.err 		= true />
 		<cfset rtn.errMsg 	= "Cannot finish." />
-		<cfset rtn.url 		= rawURL />
+		<cfset rtn.url 		= Trim(rawURL) />
 	</cfcatch>
 </cftry>
 


		<cfif Len($.globalConfig('assetPath')) gte 4 and Left($.globalConfig('assetPath'), 4) eq "http">
			<cfset rawProto = "" />
		<cfelseif cgi.https eq "on">
			<cfset rawProto = "https://" />
		<cfelse>
			<cfset rawProto = "http://" />

				source="#ExpandPath(writePath & rawPath & cffile.serverFile)#" 
				destination="#ExpandPath(writePath & rawPath & rawFile)#" />
		
		<cfset rawURL = rawProto & iif(Len(Trim(rawProto)), "$.siteConfig('domain')", de("")) & readPath & rawPath & rawFile />

		<cfcatch type="any">
			<cfset rtn.err 		= true />
