[Zope] How to filter unwanted strings within a form's textarea?

Dan L. Pierson dan@control.com
Thu, 12 Jul 2001 10:52:54 -0400


Chris Withers has a product to do this on zope.org.  Sorry, I can't 
remember
the name at the moment but a search for 'HTML' and 'filter' will probably
find it.

--On Thursday, July 12, 2001 08:43:54 AM -0500 Ausum <augusto@artlover.com> 
wrote:

> I need my local users to create content using html tags within a
> textarea, but I don't want them to include links to external images
> resources.
>
> My idea is to enable a filter that looks for the
> "http://www.whatever_ext_site.com" string within the img tag, and then
> erase it before posting the whole form data to the proper method.
>
> Is there a simple way for doing this?
> (If not, what is the hard way? :)  )
>
> Thanks in advance,
>
>
> Ausum
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>