cvs: php4 /ext/standard string.c

From: Date: Fri, 16 May 2003 06:19:51 +0000
Subject: cvs: php4 /ext/standard string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20952@lists.php.net to get a copy of this message
moriyoshi Fri May 16 02:19:51 2003 EDT Modified files: /php4/ext/standard string.c Log: Fixed bug #23650 (strip_tags() removes hyphens) Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.380 php4/ext/standard/string.c:1.381 --- php4/ext/standard/string.c:1.380 Mon May 5 09:46:14 2003 +++ php4/ext/standard/string.c Fri May 16 02:19:51 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.380 2003/05/05 13:46:14 hholzgra Exp $ */ +/* $Id: string.c,v 1.381 2003/05/16 06:19:51 moriyoshi Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -3902,6 +3902,8 @@ case '-': if (state == 3 && p >= buf + 2 && *(p-1) == '-' && *(p-2) == '!') { state = 4; + } else { + goto reg_char; } break;

« previous php.cvs (#20952) next »