Permalink
Browse files

do not treat https absolute urls as relative urls

  • Loading branch information...
1 parent f17a81a commit f439b040d41addae12425060cc3bd8e7c2e80198 @gbateson gbateson committed Jan 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/lib.php
View
2 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?

0 comments on commit f439b04

Please sign in to comment.