mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Fix strip_tags to not strip a lone > character
@ Fix strip_tags to not strip a lone > character (Rasmus)
This commit is contained in:
parent
ab60971ec4
commit
6745b16c82
@ -2800,6 +2800,8 @@ PHPAPI void php_strip_tags(char *rbuf, int len, int state, char *allow, int allo
|
||||
state = 0;
|
||||
tp = tbuf;
|
||||
}
|
||||
} else {
|
||||
*(rp++) = c;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user