note 56275 deleted from function.strip-tags by danbrown

From: Date: Sun, 17 May 2009 16:02:16 +0000
Subject: note 56275 deleted from function.strip-tags by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154743@lists.php.net to get a copy of this message
Note Submitter: info at christopher-kunz dot de ---- Please note that the function supplied by daneel at neezine dot net is not a good way of avoiding XSS attacks. A string like <font size=">>" <script>alert("foo")</script> face="tahoma" color="#DD0000">salut</font> will be sanitized to <font>>" <script>alert("foo")</script> face="tahoma" color="#DD0000">salut</font> which is a pretty good XSS. If you are in need of XSS cleaning, you might want to consider the Pixel-Apes XSS cleaner: http://pixel-apes.com/safehtml

« previous php.notes (#154743) next »