minidlna: add allow wide links option 4874/head
authorJames Christopher Adduono <jc@adduono.com>
Sat, 23 Sep 2017 04:14:42 +0000 (00:14 -0400)
committerJames Christopher Adduono <jc@adduono.com>
Tue, 17 Oct 2017 01:18:43 +0000 (21:18 -0400)
commit0b7272f967983007531b43a69969db1d218a7054
treee47ea444772b798347bddaa8df3cad32c7c39fde
parent4317fe0a10ddb6a3dfc4b88e42b74546aa8b9f89
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>
multimedia/minidlna/Makefile
multimedia/minidlna/files/minidlna.config
multimedia/minidlna/files/minidlna.init