diff --git a/index.php b/index.php index 07eef75558..7cd9a7198c 100644 --- a/index.php +++ b/index.php @@ -11,7 +11,7 @@ include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); include(PHPWG_ROOT_PATH.'include/section_init.inc.php'); -echo $_GET['adsf']; +echo isset($_GET['adsf']) ? htmlspecialchars($_GET['adsf'], ENT_QUOTES, 'UTF-8') : ''; // Check Access and exit when user status is not ok check_status(ACCESS_GUEST);