Re: cvs: php4 /ext/standard html.c
| From: | Andi Gutmans | Date: | Wed, 30 Aug 2000 17:48:06 +0000 |
| Subject: | Re: cvs: php4 /ext/standard html.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-1455@lists.php.net to get a copy of this message | ||
Are you sure this is OK? Will it break backwards compatibility?
Andi
At 15:27 30/08/00 +0000, Colin Viebrock wrote:
--- Andi Gutmans <andi@zend.com> http://www.zend.com/cmv Wed Aug 30 08:27:24 2000 EDTModified files:/php4/ext/standard html.cLog: Remove single quote from HTMLSpecialChars() ... use addslashes(), htmlentities(), strtr() instead. Index: php4/ext/standard/html.c diff -u php4/ext/standard/html.c:1.18 php4/ext/standard/html.c:1.19--- php4/ext/standard/html.c:1.18 Tue Jul 25 03:18:06 2000 +++ php4/ext/standard/html.c Wed Aug 30 08:27:23 2000@@ -17,7 +17,7 @@+----------------------------------------------------------------------+*/ -/* $Id: html.c,v 1.18 2000/07/25 10:18:06 hholzgra Exp $ */ +/* $Id: html.c,v 1.19 2000/08/30 15:27:23 cmv Exp $ */ #include "php.h" #include "reg.h" @@ -66,10 +66,6 @@} else if (34 == *old) { memcpy (new + len, """, 6); len += 6; - } else if (39 == *old) { - /* single quote (') */ - memcpy (new + len, "'",6); - len += 6; } else if (60 == *old) { memcpy (new + len, "<", 4); len += 4;-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net