mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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:
@@ -59,6 +59,7 @@ minidlna_create_config() {
|
||||
minidlna_cfg_addstr $cfg log_dir
|
||||
minidlna_cfg_addbool $cfg inotify '1'
|
||||
minidlna_cfg_addbool $cfg enable_tivo '0'
|
||||
minidlna_cfg_addbool $cfg wide_links '0'
|
||||
minidlna_cfg_addbool $cfg strict_dlna '0'
|
||||
minidlna_cfg_addstr $cfg album_art_names
|
||||
minidlna_cfg_addstr $cfg presentation_url
|
||||
|
||||
Reference in New Issue
Block a user