]> granicus.if.org Git - php/commitdiff
MFH: Input validation part 2.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 16 Aug 2005 00:25:46 +0000 (00:25 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 16 Aug 2005 00:25:46 +0000 (00:25 +0000)
ext/standard/info.c

index 9cc002c06545fb6fb0ddf0bc761924f0c6458d1d..e4a2bd96d4747f30cbd6789d8a32ef891924ab45 100644 (file)
@@ -213,7 +213,7 @@ void php_info_print_style(TSRMLS_D)
 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);
 }
 /* }}} */