Skip to content
Browse files

add "mp3" (used by DewPlayer) to the list of query string parameters …

…to search for when converting relative urls to absolute urls
  • Loading branch information...
1 parent f19e9ea commit df489b821750c7ed424500f7d98d8c2948ef7164 gbateson committed Mar 10, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/lib.php
View
2 mod/hotpot/lib.php
@@ -1851,7 +1851,7 @@ function hotpot_convert_relative_url($baseurl, $reference, $opentag, $url, $clos
}
if ($query) {
- $search = '#'.'(file|src|thesound)='."([^&]+)".'#ise';
+ $search = '#'.'(file|src|thesound|mp3)='."([^&]+)".'#ise';
$replace = "'\\1='.hotpot_convert_url('".$baseurl."','".$reference."','\\2')";
$query = preg_replace($search, $replace, $query);
}

0 comments on commit df489b8

Please sign in to comment.
Something went wrong with that request. Please try again.