#20664 [NEW]: strip_tags strips out exclaimation (!) points
| From: | mark at seventhcycle dot net | Date: | Tue, 26 Nov 2002 23:44:34 +0000 |
| Subject: | #20664 [NEW]: strip_tags strips out exclaimation (!) points | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25895@lists.php.net to get a copy of this message | ||
From: mark@seventhcycle.net
Operating system: Linux
PHP version: 4.3.0RC1
PHP Bug Type: Strings related
Bug description: strip_tags strips out exclaimation (!) points
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 bug report at http://bugs.php.net/?id=20664&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20664&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20664&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20664&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20664&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20664&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20664&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20664&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20664&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20664&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20664&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20664&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20664&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20664&r=isapi