add "mp3" (used by DewPlayer) to the list of query string parameters to search for when converting relative urls to absolute urls
This commit is contained in:
+1
-1
@@ -1998,7 +1998,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user