Some more info.....Its a third party page and its using cfform/cfinput and the value has actually been HTMLEditFormat 'ed - so, whats obvioulsy happening as you can see below is the system is escaping the & in the value (for the less than sign) with another escape!    
 
Does cfinput automatically now escape chars like this - therefore removing the need for HTMLEditFormat?
 
N
 
 


From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED]
Sent: 12 May 2004 10:44
To: '[EMAIL PROTECTED]'
Subject: [ cf-dev ] CFMX/CF5 Content Difference

Morning all,
 
got a simple form which allows a user to enter content for an alias field....just ran a test on CF5 and CFMX of the same page and got a strange difference...
 
I entered the same content into the database : <font size="1">foo</font> and the results in the HTML source are below...
 
CF5
----
<INPUT TYPE="Text" NAME="vcAlias" VALUE="&lt;font size=&quot;1&quot;&gt;foo&lt;/font&gt;">
CFMX
------
<INPUT TYPE="Text" NAME="vcAlias"  VALUE="&amp;lt;font size=&amp;quot;1&amp;quot;&amp;gt;foo&amp;lt;/font&amp;gt;">
 
As you can see when the CF5 code is parsed and rendered on screent it will indeed show exactly what I typed into to the field but when CFMX parses the code it actually outputs in the form field the ASCII code - which is not what I want as when its saved again it will obviously save that as is..... any ideas what causes this in CFMX and what the workarounds are?  Is it JDBC doing the dirty?
 
Thanks
 
Neil
 
 
 
 

This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com

This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com

Reply via email to