ID: 21744 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Assigned +Status: Closed Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 4.3.0 Assigned To: rasmus 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: ------------------------------------------------------------------------ [2003-01-19 05:13:20] [EMAIL PROTECTED] My fault. I'll fix it soonish. ------------------------------------------------------------------------ [2003-01-19 05:10:35] [EMAIL PROTECTED] Verified with HEAD ------------------------------------------------------------------------ [2003-01-19 04:58:46] [EMAIL PROTECTED] Tried the same using PHP 4.0.6 and did not get the problem: [admin@labworks ukshopsearch]$ php <? print strip_tags('<IMG ALT="Bang Not Stripped!">') . "\n"; ?> X-Powered-By: PHP/4.0.6 Content-type: text/html [admin@labworks ukshopsearch]$ ------------------------------------------------------------------------ [2003-01-19 04:39:37] [EMAIL PROTECTED] The following code prints "!" (without the quotes): print strip_tags('<IMG ALT="Bang Not Stripped!">'); I would expect it to print nothing. Same thing happens here: print strip_tags('<AREA ALT="Bang Not Stripped!">'); Here is an example copied from the command line: [dan@192 v008]$ php <? print strip_tags('<IMG ALT="Bang Not Stripped!">') . "\n"; ?> ! [dan@192 v008]$ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21744&edit=1