Skip to content

Commit

Permalink
Fixed double-encoding bug
Browse files Browse the repository at this point in the history
git-svn-id: file:///usr/local/webapps/svn/wsg/TRUNK_OPEN@40188 6e4f3189-35f9-0310-b3ef-d16b6aaee2c9
  • Loading branch information
mryand authored and willylee committed Jan 16, 2014
1 parent 3b83c8e commit 61e9de9
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -384,8 +384,7 @@ public static function post_process_audio($filepath, $media_work, $num_outputs,
public static function add_additional_outputs($outputs, $filename, $media_work, $shim, $av_type)
{
$url = self::get_base_url().self::get_path(false, $filename, $media_work, 'original');
$name = basename($url);
$url = str_replace($name, urlencode($name), $url);

$params = array(
"type" => "transfer-only",
"url" => $url,
Expand Down

0 comments on commit 61e9de9

Please sign in to comment.