options: Add wide_links config option.
In some environments, it makes sense to validate that symlink destinations remain inside user-defined media_dirs. Make this behavior configurable.
This commit is contained in:
@@ -57,7 +57,8 @@ enum upnpconfigoptions {
|
||||
USER_ACCOUNT, /* user account to run as */
|
||||
FORCE_SORT_CRITERIA, /* force sorting by a given sort criteria */
|
||||
MAX_CONNECTIONS, /* maximum number of simultaneous connections */
|
||||
MERGE_MEDIA_DIRS /* don't add an extra directory level when there are multiple media dirs */
|
||||
MERGE_MEDIA_DIRS, /* don't add an extra directory level when there are multiple media dirs */
|
||||
WIDE_LINKS /* allow following symlinks outside the defined media_dirs */
|
||||
};
|
||||
|
||||
/* readoptionsfile()
|
||||
|
||||
Reference in New Issue
Block a user