From 6781adf1290f20497145cf6736591a19a3ee6d89 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 Sep 2008 21:53:24 +0000 Subject: [PATCH] Fixes for warnings in loader/frametester --- inc/databases.php | 2 +- inc/modules/frametester.php | 2 +- inc/modules/loader.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index 539b50a663..a9a0c8ffff 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "365"); +define('CURR_SVN_REVISION', "366"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/modules/frametester.php b/inc/modules/frametester.php index 29a36a5067..f605ae5824 100644 --- a/inc/modules/frametester.php +++ b/inc/modules/frametester.php @@ -75,7 +75,7 @@ if ((!empty($_POST['url'])) || (!empty($_GET['url'])) || (!empty($_GET['frame']) $url = URL; // Decode URL if set in GET parameters - if (!empty($_GET['url'])) $url = COMPILE_CODE(gzuncompress(base64_decode(urldecode($_GET['url'])))); + if (!empty($_GET['url'])) $url = gzuncompress(base64_decode(str_replace(" ", "+", COMPILE_CODE(urldecode($_GET['url']))))); // Use URL from POST data if set if (!empty($_POST['url'])) $url = $_POST['url']; diff --git a/inc/modules/loader.php b/inc/modules/loader.php index 88a9aa7ead..ab8533a79b 100644 --- a/inc/modules/loader.php +++ b/inc/modules/loader.php @@ -39,7 +39,7 @@ if (!defined('__SECURITY')) { if (!empty($_GET['url'])) { // Decode URL - $url = COMPILE_CODE(@gzuncompress(base64_decode(str_replace(" ", "+", urldecode($_GET['url']))))); + $url = gzuncompress(base64_decode(str_replace(" ", "+", COMPILE_CODE(urldecode($_GET['url']))))); // Validate the URL if (VALIDATE_URL($url)) { -- 2.39.5