From: Moriyoshi Koizumi Date: Fri, 16 May 2003 06:21:39 +0000 (+0000) Subject: MFH(r-1.381): fixed bug #23650 X-Git-Tag: BEFORE_FD_REVERT~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5c040170cf7a4693c0174ab8567e7b8877fca0c;p=php MFH(r-1.381): fixed bug #23650 --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 9b759071d2..97356ffc44 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -3450,6 +3450,8 @@ PHPAPI size_t php_strip_tags(char *rbuf, int len, int *stateptr, char *allow, in case '-': if (state == 3 && p >= buf + 2 && *(p-1) == '-' && *(p-2) == '!') { state = 4; + } else { + goto reg_char; } break;