X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=0.2.1%2Fref.php;h=bc65a42221393e53446d1dec1a23c6871b66841f;hb=1f511db7044b4232204062245de5797733fa1576;hp=6b2502cbacecdfd6decf15f2846c97cf4b8f83bf;hpb=2408c1599f73859fe4a2938e87bc080b9dcb9cca;p=mailer.git diff --git a/0.2.1/ref.php b/0.2.1/ref.php index 6b2502cbac..bc65a42221 100644 --- a/0.2.1/ref.php +++ b/0.2.1/ref.php @@ -37,8 +37,8 @@ require_once("inc/libs/security_functions.php"); // Init "action" and "what" global $what, $action; $GLOBALS['what'] = ""; $GLOBALS['action'] = ""; -if (!empty($_GET['action'])) $GLOBALS['action'] = trim(strip_tags($_GET['action'])); -if (!empty($_GET['what'])) $GLOBALS['what'] = trim(strip_tags($_GET['what'])); +if (!empty($_GET['action'])) $GLOBALS['action'] = secureString($_GET['action']); +if (!empty($_GET['what'])) $GLOBALS['what'] = secureString($_GET['what']); // Set module $GLOBALS['module'] = "ref"; $CSS = -1;