Vircom VOPMail (http://www.vircom.com), as does, I believe, Mail Enable 
(http://www.mailenable.com), who are Australian.

Darryl Lyons


[EMAIL PROTECTED] wrote on 21/01/2005 12:58:00 PM:

> Yeah -
> 
> Its the CF version of PHP magic quotes (which irritates me no end).
> 
> You've given yourself extra overhead, while losing the performance
> gains of cfqueryparam
> 
> But you know ;) That's up to you.
> 
> Mark
> 
> 
> On Fri, 21 Jan 2005 13:52:09 +1100, Jason Sheedy
> <[EMAIL PROTECTED]> wrote:
> > I currently run content filter with complex regular expression 
matching to
> > weed out any malicious code from form submisions. It's easy to plug 
into
> > an app without having to modify every query with <cfqueryparam>.
> > 
> > Before anything goes to the database I do this:
> > 
> > <!--- Invoke an instance of the content filter component in the 
> application scope. --->
> > <cfif NOT StructKeyExists(application, "cFilter")>
> >         <cflock name="contentFilterLock" type="exclusive" 
timeout="30">
> >         <cfif NOT StructKeyExists(application, "cFilter")>
> >                 <cfset application.
> cFilter=createObject("component","contentFilter")>
> >         </cfif>
> >         </cflock>
> > </cfif>
> > 
> > <!--- Clean up url and form fields --->
> > <cfif NOT StructIsEmpty(attributes)>
> >         <!--- Loop through attributes variables. --->
> >         <cfloop list="#StructKeyList(attributes)#" index="field">
> >         <cfif field DOES NOT CONTAIN "file">
> >                 <cfset attributes[field]=application.cFilter.
> stringFilter(attributes[field])>
> >         </cfif>
> >         </cfloop>
> > </cfif>
> > 
> > It works pretty well and is also used to strip out any dodgy html
> > formatting, etc. Anyone got any thoughts on this?
> > 
> > Jason Sheedy
> > www.voice.com.au
> > 
> 
> -- 
> E: [EMAIL PROTECTED]
> W: www.compoundtheory.com
> ICQ: 3094740
> 
> ---
> You are currently subscribed to cfaussie as: 
[EMAIL PROTECTED]
> To unsubscribe send a blank email to 
[EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/



To unsubscribe from this email please forward this email to [EMAIL PROTECTED] 

This email message is confidential and may be privileged. If you are not the 
intended recipient
please forward the email to [EMAIL PROTECTED] and delete the original.
 
ABN AMRO Morgans Limited and its associates hold or may hold securities in the 
companies/trusts mentioned herein.
Any general advice included in this email has been prepared without taking into 
account your objectives, financial situation or needs.
Before acting on the advice, you should consider its appropriateness or discuss 
with one of our investment advisors.

ABN AMRO Morgans Limited (ABN 49 010 669 726 AFSL 235410) A Participant of ASX 
Group.
A principal member of the Financial Planning Association.


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to