I use two simple templates in a rudimentary online file editing system that lets me edit any page of a site when I am logged in. The functionality works by using CFFILE to read a file and display its contents in a TEXTAREA field from where I can then use CFFILE to WRITE it back to disk as an ASCII .cfm file after modifiying the code and/or content. It has worked well for years and enables me to make minor mods from any web browser, so I don't need to be sitting at my own machine with FTP program loaded and configured. There is a backup automatically made of every file edited and a log created which indicates who edited each one, so I know nobody has gotten into my online editing system by hacking my account and logging in.
Somehow, recently something has changed dramatically for one page I recently tried to edit which has a lot of YouTube videos embedded in it. The CFFILE operation doesn't save the code properly but converts every EMBED and OBJECT tag (no CF tags that I know of) into "InvalidTag"! I know it is not my own code doing this because I have inspected it carefully and it is not very complicated to begin with so I could not miss such a thing that might be doing it. I can upload good code containing EMBED and OBJECT tags via FTP and the code will not be altered in that case so I know the code changes do not happen when CF processes the code or by the webserver or other post-processing somehow, it has to be happening during the CFFILE WRITE operation only when I am editing through my online interface. So I can use FTP to make things work okay without changing any of my code but I want my online editing to work too because it is so convenient to have sometimes. The webserver is running Windows 2003 Server and CF is version 7,0,0,91690 (MX 7) Enterprise version, the webserver is IIS 6.0. Anybody have any idea what setting somewhere (no doubt for "security") is changing all my EMBED and OBJECT tags to InvalidTag when CFFILE WRITE occurs? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298617 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

