Permalink
Browse files

do not treat https absolute urls as relative urls

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

0 comments on commit 5fd1ede

Please sign in to comment.