From 43d46670288818c39612378755c66289b33a7bfd Mon Sep 17 00:00:00 2001 From: shdown Date: Sat, 30 Aug 2014 20:29:48 +0400 Subject: [PATCH] TOOLS/youtube-dl_mpv.sh: disable globbing before expanding $video_url $video_url can contain a question mark, which can be expanded to a character in an existing file name if globbing is enabled. --- TOOLS/youtube-dl_mpv.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/TOOLS/youtube-dl_mpv.sh b/TOOLS/youtube-dl_mpv.sh index a29928b8b9..6bfe303705 100755 --- a/TOOLS/youtube-dl_mpv.sh +++ b/TOOLS/youtube-dl_mpv.sh @@ -16,6 +16,7 @@ video_url="$(youtube-dl \ --get-url \ "$@")" +set -f $MPV \ --cookies \ --cookies-file="$cookies_file" \