preserveSingleQuotes fails


hi,
we moving our comparatively large cf5 extranet cf7, , running issue sql code worked fine in cf5, , used preservesinglequotes(), not being not-escaped in cf7 , failing. i've had resort

replace(preservesinglequotes(sql),"''","'")
which preservesinglequotes meant avoid. has else seen behavior in cf enterprise 7.0.2?

more details: it's been seen on both win server 2k3 , xp pro, accessing oracle 9i, , in @ least cases (although not all) sql stored in session variable.

coming late,

but, have lot of trouble "preservesinglequotes",

which did not have before v7, seems ?

 

example :

<cfset sql = "select * get_mou_f1 mou_ocean = '#form.ocean_mer#'">
<cfquery name="get_mou_f1"  dbtype="query">
    #preservesinglequotes(sql)#
</cfquery>

 

where form.ocean_mer contains single quote.

 

can confirme has see cf version ?

is there update implement cf v7.

 

thanks answer , cooperation.

pierre.



More discussions in Database Access


adobe

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums