cvs: php-src(PHP_5_0) /ext/standard info.c
| From: | Ilia Alshanetsky | Date: | Tue, 16 Aug 2005 00:25:46 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/standard info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33433@lists.php.net to get a copy of this message | ||
iliaa Mon Aug 15 20:25:46 2005 EDT
Modified files: (Branch: PHP_5_0)
/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.245.2.4&r2=1.245.2.5&ty=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.245.2.4 php-src/ext/standard/info.c:1.245.2.5
--- php-src/ext/standard/info.c:1.245.2.4 Mon Aug 15 19:23:51 2005
+++ php-src/ext/standard/info.c Mon Aug 15 20:25:46 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: info.c,v 1.245.2.4 2005/08/15 23:23:51 iliaa Exp $ */
+/* $Id: info.c,v 1.245.2.5 2005/08/16 00:25:46 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);
}
/* }}} */