Ali Awan wrote:
> 
> If you are passing the value within Javascript, you can apply the escape()
> function.
> 
> I had the same problem when I was doing an ajax call from within my app.
> But it was in the link to the page that AJAX calls, which passes url
> parameters.
> 
> So I had to do this   
> 
> 'myCFCode.cfm?param1='+escape(valueToPassIn);

I don't think that would do anything because it would just escape things 
that aren't friendly in URLS, but coldfusion would still see the actual 
values.  Ie, coldfusion does not see %20, it sees a space in the url 
variable.

Thus, you're STILL passing in # signs, and when cfajax runs its 
Evaluate() statement, it's still gonna evaluate the CFML functions.

This really has to be fixed within cfajax itself, using the solution 
mentioned earlier in the thread (and posted on opensourcecf.com)

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247833
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to