cvs: php4 /ext/standard html.c

From: Date: Tue, 24 Sep 2002 10:05:46 +0000
Subject: cvs: php4 /ext/standard html.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14191@lists.php.net to get a copy of this message
wez Tue Sep 24 06:05:46 2002 EDT Modified files: /php4/ext/standard html.c Log: Fix for #19570: last character in translation table is omitted. Index: php4/ext/standard/html.c diff -u php4/ext/standard/html.c:1.50 php4/ext/standard/html.c:1.51 --- php4/ext/standard/html.c:1.50 Wed Aug 28 18:14:42 2002 +++ php4/ext/standard/html.c Tue Sep 24 06:05:45 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: html.c,v 1.50 2002/08/28 22:14:42 rasmus Exp $ */ +/* $Id: html.c,v 1.51 2002/09/24 10:05:45 wez Exp $ */ #include "php.h" #include "reg.h" @@ -835,7 +835,7 @@ for (j=0; entity_map[j].charset != cs_terminator; j++) { if (entity_map[j].charset != charset) continue; - for (i = 0; i < entity_map[j].endchar - entity_map[j].basechar; i++) + for (i = 0; i <= entity_map[j].endchar - entity_map[j].basechar; i++) { char buffer[16];

« previous php.cvs (#14191) next »