On Thu, 3 Mar 2005 16:07:05 -0500, Mike Chabot <[EMAIL PROTECTED]> wrote:
> I am saying that if the user tries to enter <b> tags to make text
> bold, he is going to be disappointed because the HtmlEditFormat tag
> basically wipes out all HTML.
> 
> If I wanted to allow limited HTML, I would have to scan the string for
> all potentially dangerous tags, which I belive would be less efficient
> than applying the HtmlEditFormat function.

If CFMX 7 is an option for you, check out the new scriptProtect=
attribute of <cfapplication> which makes URL and form data safe from
cross-site scripting attacks but still allows HTML input.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 49, yes 49, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197348
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to