do not treat https absolute urls as relative urls

This commit is contained in:
Gordon Bateson
2010-01-25 07:16:10 +00:00
parent f17a81ab3d
commit f439b040d4
+1 -1
View File
@@ -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?