diff --git a/objects/Encoder.php b/objects/Encoder.php index 4b23b795..c43627a0 100644 --- a/objects/Encoder.php +++ b/objects/Encoder.php @@ -592,6 +592,7 @@ private static function setDownloaded($queue_id, $filePath) public static function getYoutubeDl($videoURL, $queue_id, $destinationFile, $addOauthFromProvider = '') { global $global; + $videoURL = str_replace("'", '', $videoURL); $videoURL = escapeshellarg($videoURL); $tmpfname = _get_temp_file('youtubeDl');