dmitry Wed Oct 12 07:00:54 2005 EDT
Modified files:
/php-src/ext/standard string.c
Log:
Fixed unicode support for strip_tags()
http://cvs.php.net/diff.php/php-src/ext/standard/string.c?r1=1.493&r2=1.494&ty=u
Index: php-src/ext/standard/string.c
diff -u php-src/ext/standard/string.c:1.493 php-src/ext/standard/string.c:1.494
--- php-src/ext/standard/string.c:1.493 Wed Oct 5 08:16:02 2005
+++ php-src/ext/standard/string.c Wed Oct 12 07:00:47 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.493 2005/10/05 12:16:02 rolland Exp $ */
+/* $Id: string.c,v 1.494 2005/10/12 11:00:47 dmitry Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -5123,6 +5123,7 @@
buf = eustrndup(rbuf, len);
rp = rbuf;
if (allow_len != 0) {
+ allow = eustrndup(allow, allow_len);
php_u_strtolower(&allow, &allow_len, UG(default_locale));
tbuf = eumalloc(PHP_TAG_BUF_SIZE+1);
tp = tbuf;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php