do not treat https absolute urls as relative urls
This commit is contained in:
+1
-1
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user