cvs: php-src(PHP_4_4) /ext/standard info.c
| From: | Ilia Alshanetsky | Date: | Tue, 16 Aug 2005 00:26:02 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /ext/standard info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33434@lists.php.net to get a copy of this message | ||
iliaa Mon Aug 15 20:26:02 2005 EDT
Modified files: (Branch: PHP_4_4)
/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.218.2.18.2.3&r2=1.218.2.18.2.4&ty=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.218.2.18.2.3 php-src/ext/standard/info.c:1.218.2.18.2.4
--- php-src/ext/standard/info.c:1.218.2.18.2.3 Mon Aug 15 19:24:27 2005
+++ php-src/ext/standard/info.c Mon Aug 15 20:26:02 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: info.c,v 1.218.2.18.2.3 2005/08/15 23:24:27 iliaa Exp $ */
+/* $Id: info.c,v 1.218.2.18.2.4 2005/08/16 00:26:02 iliaa Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -207,7 +207,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);
}
/* }}} */