summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2020-11-15 22:06:59 -0500
committerLeo Izen <leo.izen@gmail.com>2020-11-18 17:30:07 -0500
commit9b5672ebedf22e1c0d3ba81791c64087e369ee02 (patch)
treee17d7c4bd207445265860f71965b66cca3970120 /stream
parent24d696183364c4b5d36c46551bdb8d8b53f9c699 (diff)
downloadmpv-9b5672ebedf22e1c0d3ba81791c64087e369ee02.tar.bz2
mpv-9b5672ebedf22e1c0d3ba81791c64087e369ee02.tar.xz
manpage: document improved --playlist security
Recent versions of mpv have applied security checks to --playlist that previously only existed if playlist files were played as an input directly. This commit documents this change and how to work around it, in the event that playlist files are trusted.
Diffstat (limited to 'stream')
-rw-r--r--stream/stream.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/stream.c b/stream/stream.c
index f422c5d08d..116dcef4a4 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -441,8 +441,7 @@ int stream_create_with_args(struct stream_open_args *args, struct stream **ret)
if (r == STREAM_UNSAFE) {
mp_err(log, "\nRefusing to load potentially unsafe URL from a playlist.\n"
- "Use --playlist=file or the --load-unsafe-playlists option to "
- "load it anyway.\n\n");
+ "Use the --load-unsafe-playlists option to load it anyway.\n\n");
} else if (r == STREAM_NO_MATCH || r == STREAM_UNSUPPORTED) {
mp_err(log, "No protocol handler found to open URL %s\n", args->url);
mp_err(log, "The protocol is either unsupported, or was disabled "