Thanks for the help. For anyone who is interested, here is the code I came up with to escape the hex sequences. urlDecode wasn't working right so I used a workaround (inputBaseN).

<cfloop condition="reFind('%([[:xdigit:]]{2})',filecontent)">
<cfset st = reFind("%([[:xdigit:]]{2})",filecontent,1,true)>
<cfset filecontent = replaceNoCase(filecontent,mid(filecontent,st.pos[1],st.len[1]),chr(inputBaseN(mid(filecontent,st.pos[1]+1,st.len[1]-1),16)),"ALL")>
</cfloop>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to