#20664 [Ver->Csd]: strip_tags strips out exclaimation (!) points
| From: | iliaa@php.net | Date: | Wed, 27 Nov 2002 06:20:51 +0000 |
| Subject: | #20664 [Ver->Csd]: strip_tags strips out exclaimation (!) points | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25936@lists.php.net to get a copy of this message | ||
ID: 20664
Updated by: iliaa@php.net
Reported By: mark@seventhcycle.net
-Status: Verified
+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-11-26 17:44:34] mark@seventhcycle.net
Code instance:
echo "<P>txt1 = $txt";
$txt = strip_tags($txt, "<b><i><u><a><img>");
echo "<P>txt2 = $txt";
With an input of "Testing!!!?!?!?!!!!!"
The output looks like "Testing???"
Configure Line:
./configure --with-mysql=/usr/local/mysql \
--with-xml \
--with-apxs2=/usr/local/apache2/bin/apxs \
--enable-track-vars \
--with-gd \
--with-freetype-dir=/usr \
--enable-gd-native-ttf \
--enable-gd-imgstrttf \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20664&edit=1