#7472 [Fbk->Opn]: problem with strip_tags() function

From: Date: Sat, 21 Sep 2002 09:44:24 +0000
Subject: #7472 [Fbk->Opn]: problem with strip_tags() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19979@lists.php.net to get a copy of this message
ID: 7472 Updated by: nohn@php.net Reported By: kjackson@gpu.srv.ualberta.ca -Status: Feedback +Status: Open Bug Type: Strings related Operating System: linux PHP Version: 4.3.0-dev New Comment: $result_strip_tags = strip_tags("first <?echo \"\\\"\"?> second"); echo "\n$result_strip_tags\n"; still results in sebastian@linux:~> /usr/local/bin/php strip_tags.php first sebastian@linux:~> Previous Comments: ------------------------------------------------------------------------ [2002-09-19 20:54:21] iliaa@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Cannot replicate the bug with latest CVS, using test case in the original report or subsequent reports. ------------------------------------------------------------------------ [2002-07-29 17:12:38] rodif_bl@php.net looked at php_strip_tags, The state machine is tracking "'s, )'s and ('s. I don't know if this is necessary. Can fix by simply removing that code. Emailed dev list asking for any further info. ------------------------------------------------------------------------ [2002-07-29 09:16:07] nohn@php.net Verified on Compaq Tru64/Alpha ------------------------------------------------------------------------ [2002-01-22 07:54:43] yohgaki@php.net Version updated ------------------------------------------------------------------------ [2002-01-22 07:34:33] martin@humany.com Bug still exists in PHP 4.1.1, tested under Linux 2.4 and Windows XP with: echo strip_tags("first <?echo \"\\\"\"?> second"); ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/7472 -- Edit this bug report at http://bugs.php.net/?id=7472&edit=1

« previous php.bugs (#19979) next »