G'day.
I've just raised this as 
http://code.google.com/p/openbluedragon/issues/detail?id=250:

See this code:

<cfsetting enablecfoutputonly="true">
<cfset CF = "cf">
<cfset CRLF = chr(13) & chr(10)>
<cfsavecontent variable="sCfml">
        <cfoutput><#CF#set foo="bar">#CRLF#</cfoutput>
        <cfoutput><#CF#output>##foo##</#CF#output></cfoutput>
</cfsavecontent>
<cffile action="write" file="#expandPath('./')#runtimeCodeCfml.cfm"
output="#sCfml#">
<cfinclude template="./runtimeCodeCfml.cfm">
<cffile action="delete" file="#expandPath('./')#runtimeCodeCfml.cfm">

On CF8 this - correctly - creates the CFML file, executes it, tidies
up after itself.

On OpenBD, I get this error:

Bad File Exception
Request /misc/runtimeCode.cfm

Type    Template
Message Unrecognized tag
Tag     <#CF#
Position        Line=5; Column=12
Detail  The tag #CF is not recognized. Please check for correct
spelling.
Source

2 : <cfset CF = "cf">
3 : <cfset CRLF = chr(13) & chr(10)>
4 : <cfsavecontent variable="sCfml">
5 :   <cfoutput><#CF#set foo="bar">#CRLF#</cfoutput>

OpenBD should only be looking at the sequence "<[/]?cf" to determine
whether it's a CF tag or not.  <#cf# should not match that.

--
Adam

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 online manual: http://www.openbluedragon.org/manual/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to