fixes #847, CVE-2018-5692 protect a few user input variables

This commit is contained in:
plegall
2018-07-11 11:22:31 +02:00
parent 23fa4c1a73
commit 69345c06e2
5 changed files with 8 additions and 0 deletions
+2
View File
@@ -42,6 +42,8 @@ include_once(PHPWG_ROOT_PATH.'include/functions_mail.inc.php');
// +-----------------------------------------------------------------------+
check_status(ACCESS_ADMINISTRATOR);
check_input_parameter('mode', $_GET, false, '/^(param|subscribe|send)$/');
// +-----------------------------------------------------------------------+
// | Initialization |
// +-----------------------------------------------------------------------+