More constant rewrites
[mailer.git] / inc / modules / loader.php
index ab8533a79b1382f876e8bcade550e6bd6a1a04df..6d5b5a37d203f859e5ac556ec0870dc2cd4c9e19 100644 (file)
@@ -37,9 +37,9 @@ if (!defined('__SECURITY')) {
        require($INC);
 }
 
-if (!empty($_GET['url'])) {
+if (REQUEST_ISSET_GET(('url'))) {
        // Decode URL
-       $url = gzuncompress(base64_decode(str_replace(" ", "+", COMPILE_CODE(urldecode($_GET['url'])))));
+       $url = decodeString(str_replace(" ", "+", compileUriCode(urldecode(REQUEST_GET('url')))));
 
        // Validate the URL
        if (VALIDATE_URL($url)) {