#7472 [Ana->Fbk]: problem with strip_tags() function
| From: | iliaa@php.net | Date: | Fri, 20 Sep 2002 01:54:21 +0000 |
| Subject: | #7472 [Ana->Fbk]: problem with strip_tags() function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19819@lists.php.net to get a copy of this message | ||
ID: 7472
Updated by: iliaa@php.net
Reported By: kjackson@gpu.srv.ualberta.ca
-Status: Analyzed
+Status: Feedback
Bug Type: Strings related
Operating System: linux
PHP Version: 4.3.0-dev
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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");
------------------------------------------------------------------------
[2001-02-10 15:14:36] jimw@php.net
it is the unbalanced quotes that causes this. smaller example:
<?php
echo strip_tags("first <?echo \"\\\"\"?> second");
?>
refiling against 4.0, although it would be nice if any fix were
backported.
(or the behavior could be documented.)
------------------------------------------------------------------------
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