
November 25th, 2003, 07:41 AM
|
|
Junior Member
|
|
Join Date: Nov 2003
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
This shouldnt matter
If ColdFusion is dealing with data that is alread in a variable, like data coming form a database, the ColdFusion will escape the chars automatically
so if you had myDomain.com/index.cfm?someVal=#hiThere, ColdFusion wont spit it cause its not having to deal with it directly. The only time ColdFusion will die is if you try something like this
Code:
<cfset myVar = "Hello there. I am #1">
<cfoutput>#myVar#</cfoutput>
If your doing stuff like that you have to escape the pounds like so
Code:
<cfset myVar = "Hello there. I am ##1">
<cfoutput>#myVar#</cfoutput>
Steve
|