do not treat https absolute urls as relative urls

This commit is contained in:
Gordon Bateson
2010-01-25 07:18:24 +00:00
parent 554cd8fc83
commit 5fd1edeb8f
+1 -1
View File
@@ -2387,7 +2387,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?