Permalink
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 70efd67 commit 42e5c3de66db2821d47eada15a618c22714e08a9 gbateson committed Mar 10, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/lib.php
View
@@ -1849,7 +1849,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 42e5c3d

Please sign in to comment.