- obsolete templates/scripts removed
[mailer.git] / 0.2.1 / view.php
index 63eb74a5f9b42e7ca981787936755485189351ac..26435d8f175100d4a7da44c58f86bfc6f4a2472a 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'] = "view"; $CSS = -1;\r