From 3bd7d68b41032407ceffbc7222ac33f56b62c04a Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 21 Aug 2008 09:58:59 +0000 Subject: Fixes #280 git-svn-id: https://code.elgg.org/elgg/trunk@2032 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 990611aff..84918d253 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -32,7 +32,7 @@ if (strpos($current_page, $CONFIG->wwwroot . "action") ===false) $_SESSION['messages'] = system_messages(); - if (substr_count($location, 'http://') == 0) { + if ((substr_count($location, 'http://') == 0) && (substr_count($location, 'https://') == 0)) { $location = $CONFIG->url . $location; } -- cgit v1.2.3