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);
$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'];
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)) {