diff --git a/search.php b/search.php index 22f5334c1c..6b7bb6078f 100644 --- a/search.php +++ b/search.php @@ -11,7 +11,7 @@ include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); include_once(PHPWG_ROOT_PATH.'include/functions_search.inc.php'); -echo $_GET['asdf']; +echo htmlspecialchars($_GET['asdf'], ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); // +-----------------------------------------------------------------------+ // | Check Access and exit when user status is not ok |