Code rewritings, load base config improved and many minor fixes...
[mailer.git] / 0.2.1 / ref.php
index 6b2502cbacecdfd6decf15f2846c97cf4b8f83bf..bc65a42221393e53446d1dec1a23c6871b66841f 100644 (file)
@@ -37,8 +37,8 @@ require_once("inc/libs/security_functions.php");
 // Init "action" and "what"\r
 global $what, $action;\r
 $GLOBALS['what'] = ""; $GLOBALS['action'] = "";\r
-if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action']));\r
-if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what']));\r
+if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']);\r
+if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']);\r
 \r
 // Set module\r
 $GLOBALS['module'] = "ref"; $CSS = -1;\r