From f439b040d41addae12425060cc3bd8e7c2e80198 Mon Sep 17 00:00:00 2001 From: Gordon Bateson Date: Mon, 25 Jan 2010 07:16:10 +0000 Subject: [PATCH] do not treat https absolute urls as relative urls --- mod/hotpot/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/hotpot/lib.php b/mod/hotpot/lib.php index 7563c79daef..a7b2aa91be7 100644 --- a/mod/hotpot/lib.php +++ b/mod/hotpot/lib.php @@ -1904,7 +1904,7 @@ function hotpot_convert_url($baseurl, $reference, $url, $stripslashes=true) { } // is this an absolute url? (or javascript pseudo url) - if (preg_match('%^(http://|/|javascript:)%i', $url)) { + if (preg_match('%^(http://|https://|/|javascript:)%i', $url)) { // do nothing // has this relative url already been converted?