cvs: php-src(PHP_5_1) /ext/standard info.c

From: Date: Tue, 16 Aug 2005 00:25:39 +0000
Subject: cvs: php-src(PHP_5_1) /ext/standard info.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33432@lists.php.net to get a copy of this message
iliaa Mon Aug 15 20:25:39 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/standard info.c Log: MFH: Input validation part 2. http://cvs.php.net/diff.php/php-src/ext/standard/info.c?r1=1.249.2.2&r2=1.249.2.3&ty=u Index: php-src/ext/standard/info.c diff -u php-src/ext/standard/info.c:1.249.2.2 php-src/ext/standard/info.c:1.249.2.3 --- php-src/ext/standard/info.c:1.249.2.2 Mon Aug 15 19:23:40 2005 +++ php-src/ext/standard/info.c Mon Aug 15 20:25:39 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: info.c,v 1.249.2.2 2005/08/15 23:23:40 iliaa Exp $ */ +/* $Id: info.c,v 1.249.2.3 2005/08/16 00:25:39 iliaa Exp $ */ #include "php.h" #include "php_ini.h" @@ -213,7 +213,7 @@ PHPAPI char *php_info_html_esc(char *string TSRMLS_DC) { int new_len; - return php_escape_html_entities(string, strlen(string), &new_len, 0, ENT_NOQUOTES, NULL TSRMLS_CC); + return php_escape_html_entities(string, strlen(string), &new_len, 0, ENT_QUOTES, NULL TSRMLS_CC); } /* }}} */

« previous php.cvs (#33432) next »