From 310dd4a21428b4df8c71839ae139c82b253f35c5 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 8 May 2005 17:24:38 +0000 Subject: [PATCH] Fix request_uri XSS on phpinfo() page --- ext/standard/info.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ext/standard/info.c b/ext/standard/info.c index c5485e7557b..bc278b5f302 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -406,7 +406,9 @@ PHPAPI void php_print_info(int flag TSRMLS_DC) if (expose_php && !sapi_module.phpinfo_as_text) { PUTS("\"Zend\n"); } @@ -611,7 +615,9 @@ PHPAPI void php_print_info(int flag TSRMLS_DC) php_info_print_hr(); PUTS("

"); PUTS("PHP Credits");