Looking for some input on a problem I ran into creating a Facebook app
on OpenBD GAE.

Facebook pulls the content for your app from your server and displays
it in Facebook. When they make a request to your server, they post
some form fields so that your server knows how to react.

The form fields that facebook posts cause a problem because coldfusion
automatically tries to validate the form fields based on the form
field names. The problem has been documented here:

http://www.coldfusionjedi.com/index.cfm/2007/9/21/Fixing-the-Facebook-Problem-and-why-one-ColdFusion-feature-needs-to-die

The work around is to rename one of the form fields before coldfusion
tries to validate them by putting the following code in
Application.cfc

<cfif structKeyExists(form, "FB_SIG")>
<cfset form.FB_SIG_FIX = form.FB_SIG>
<cfset form.FB_SIG = ''>
</cfif>

This works in Adobe CF, but it did not work on OpenBD GAE.

My question is:

Is there a way to rename a formfield if it exists before OpenBD does
its validation? Or is there a way to turn off this validation in
OpenBD GAE?

Thanks

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to