mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
manager: prevent file access outside of config dir
Add live_dangerously flag to manager and use this flag to determine if a configuation file outside of AST_CONFIG_DIR should be read. ASTERISK-30176 Change-Id: I46b26af4047433b49ae5c8a85cb8cda806a07404
This commit is contained in:
committed by
Friendly Automation
parent
16a7a98643
commit
76d10ea668
@@ -476,6 +476,7 @@ void load_asterisk_conf(void)
|
||||
}
|
||||
if (!ast_opt_remote) {
|
||||
pbx_live_dangerously(live_dangerously);
|
||||
astman_live_dangerously(live_dangerously);
|
||||
}
|
||||
|
||||
option_debug += option_debug_new;
|
||||
|
Reference in New Issue
Block a user