#21744 [Csd]: strip_tags misses exclamation marks in alt text

From: Date: Sat, 31 May 2003 03:45:52 +0000
Subject: #21744 [Csd]: strip_tags misses exclamation marks in alt text
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40771@lists.php.net to get a copy of this message
 ID:               21744
 Updated by:       philip@php.net
 Reported By:      dan at freelancer dot net
 Status:           Closed
 Bug Type:         Unknown/Other Function
 Operating System: Linux
 PHP Version:      4.3.0
 Assigned To:      rasmus
 New Comment:

It was fixed in 4.3.2 as 4.3.1 is essentially 4.3.0 (with the one small
change to the CGI).


Previous Comments:
------------------------------------------------------------------------

[2003-05-30 22:43:21] csnyder at chxo dot com

This bug is still present in 4.3.1 Linux.

------------------------------------------------------------------------

[2003-01-19 05:34:24] moriyoshi@php.net

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.



------------------------------------------------------------------------

[2003-01-19 05:13:20] rasmus@php.net

My fault.  I'll fix it soonish.

------------------------------------------------------------------------

[2003-01-19 05:10:35] moriyoshi@php.net

Verified with HEAD

------------------------------------------------------------------------

[2003-01-19 04:58:46] dan at freelancer dot net

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]$

------------------------------------------------------------------------

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/21744

-- 
Edit this bug report at http://bugs.php.net/?id=21744&edit=1



Thread (7 messages)

« previous php.bugs (#40771) next »