#7472 [Opn->Csd]: problem with strip_tags() function
| From: | iliaa@php.net | Date: | Sat, 21 Sep 2002 17:39:46 +0000 |
| Subject: | #7472 [Opn->Csd]: problem with strip_tags() function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20000@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: Open
+Status: Closed
Bug Type: Strings related
Operating System: linux
PHP Version: 4.3.0-dev
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-09-21 04:44:24] nohn@php.net
$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:~>
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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