minidlna: add allow wide links option

Some users might create a minidlna root with symlinks
to shared locations. While this could potentially create
a vulnerability, the option should be available to allow
users to do this should they choose to.

wide_links=no : (default) no content served + error message
 [timestamp] upnphttp.c:1366: error: Rejecting wide link X

wide_links=yes : content served, no error messages

Signed-off-by: James Christopher Adduono <jc@adduono.com>
This commit is contained in:
James Christopher Adduono
2017-09-23 00:14:42 -04:00
parent 4317fe0a10
commit 0b7272f967
3 changed files with 3 additions and 1 deletions
@@ -7,6 +7,7 @@ config minidlna config
option log_dir '/var/log'
option inotify '1'
option enable_tivo '0'
option wide_links '0'
option strict_dlna '0'
option presentation_url ''
option notify_interval '900'