note 98600 added to function.strip-tags

From: Date: Fri, 25 Jun 2010 14:19:48 +0000
Subject: note 98600 added to function.strip-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-170425@lists.php.net to get a copy of this message
Only one issue with php at wizap dot com function below, if you feed it some text with a single less than on its own in the file, it causes the server to max out and time out with a warning around this line: $x = substr($s,$pos[1],$len[1]); Not looked at the why, but on an apache server if you opened up a handful of tabs where this function was present, and fed them all a single < it would probably crash/DoS it. ---- Server IP: 69.147.83.197 Probable Submitter: 212.69.52.158 ---- Manual Page -- http://www.php.net/manual/en/function.strip-tags.php Edit -- https://master.php.net/note/edit/98600 Del: integrated -- https://master.php.net/note/delete/98600/integrated Del: useless -- https://master.php.net/note/delete/98600/useless Del: bad code -- https://master.php.net/note/delete/98600/bad+code Del: spam -- https://master.php.net/note/delete/98600/spam Del: non-english -- https://master.php.net/note/delete/98600/non-english Del: in docs -- https://master.php.net/note/delete/98600/in+docs Del: other reasons-- https://master.php.net/note/delete/98600 Reject -- https://master.php.net/note/reject/98600 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#170425) next »