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

index 34fbf3e49be975f56ffee112fb7040c51cdb0c5f..f1ed4b09088810334db41dc5ffee2016cbf12a35 100644 (file)
@@ -207,7 +207,7 @@ void php_info_print_style()
 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);
 }
 /* }}} */