]> git.mxchange.org Git - mailer.git/blobdiff - 0.2.1/doubler.php
Code rewritings, load base config improved and many minor fixes...
[mailer.git] / 0.2.1 / doubler.php
index eb0e9dc8f425542b80903328be220ec88729a318..81aefa8066b5151254cab01ab3dc8dddff3fed82 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'] = "doubler";\r