#40432 [Opn->Asn]: strip_tags() fails with greater than in attribute
| From: | iliaa@php.net | Date: | Sat, 10 Feb 2007 16:06:40 +0000 |
| Subject: | #40432 [Opn->Asn]: strip_tags() fails with greater than in attribute | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-108673@lists.php.net to get a copy of this message | ||
ID: 40432
Updated by: iliaa@php.net
Reported By: geoffers at gmail dot com
-Status: Open
+Status: Assigned
Bug Type: Strings related
Operating System: Mac OS 10.4.8
PHP Version: 5.2.1
-Assigned To:
+Assigned To: iliaa
Previous Comments:
------------------------------------------------------------------------
[2007-02-10 15:46:13] geoffers at gmail dot com
Description:
------------
The following valid (X)HTML is not stripped (this has been
reported before and closed claiming it is invalid read the
SGML and XML specifications this is completely valid).
Reproduce code:
---------------
<?php
echo strip_tags('<span title="test > all">this</span>');
?>
Expected result:
----------------
this
Actual result:
--------------
all">this
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40432&edit=1