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 9ebd5c6 commit 7c3f0706a0ff18854588b8db1e310e6f9f092f08 gbateson committed Mar 10, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/lib.php
View
@@ -1879,7 +1879,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 7c3f070

Please sign in to comment.