Re: Re: Sanitizer HTML?

From: Date: Thu, 29 Jan 2004 05:36:12 +0000
Subject: Re: Re: Sanitizer HTML?
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25321@lists.php.net to get a copy of this message
On Wed, Jan 28, 2004 at 10:10:29PM +0100, Stephan Wentz wrote: > >>Has anyone ever seen a Package/Class that provides function to > >>"Sanitize" HTML-Code? For example to view bogus emails in a > >>webmail-client, or to filter html-user-input. > > maybe i should've been more detailled, what i was thinking of > "sanitizing" was removing/converting any bogus code that connects to > some other site. for example when viewing spam-mails. remove every > outside img's, style-sheets and whatever other possibilities exist to > submit a tracking id. We have a lot of code for handling these types of conversions in IMP: http://cvsweb.horde.org/co.php/imp/lib/MIME/Viewer/html.php -- Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)

« previous php.pear.dev (#25321) next »