]> git.ipfire.org Git - thirdparty/asterisk.git/commit
manager.c: Check for restricted file in action_createconfig.
authorGeorge Joseph <gjoseph@sangoma.com>
Mon, 3 Mar 2025 21:07:43 +0000 (14:07 -0700)
committerGeorge Joseph <gjoseph@sangoma.com>
Thu, 6 Mar 2025 15:04:06 +0000 (15:04 +0000)
commit6f447132b23a3f94d9b66f47a850f98d01fc18dc
treeb432391010c8d84ad7b927ca5facfb29670337aa
parentf80e2405e64c32898380230c5f5bf38c168814e5
manager.c: Check for restricted file in action_createconfig.

The `CreateConfig` manager action now ensures that a config file can
only be created in the AST_CONFIG_DIR unless `live_dangerously` is set.

Resolves: #1122
main/manager.c