#45340 [Opn]: strip_tags() makes problems with brackets right after angle brackets

From: Date: Mon, 23 Jun 2008 20:44:11 +0000
Subject: #45340 [Opn]: strip_tags() makes problems with brackets right after angle brackets
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-125977@lists.php.net to get a copy of this message
ID: 45340 User updated by: viperfan at gmx dot net Reported By: viperfan at gmx dot net Status: Open Bug Type: Output Control Operating System: Debian PHP Version: 5.2.6 New Comment: of course strip_tag("Hi (>username<), how are you") was meant Previous Comments: ------------------------------------------------------------------------ [2008-06-23 20:42:06] viperfan at gmx dot net Description: ------------ strip_tags() returns mutilated text when a "<" (open html tag) is directly followed by ( (open brackets) eg. strip_crap("Hi (>username<), how are you") everthing after "(>username" is chopped off ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45340&edit=1

« previous php.bugs (#125977) next »