]> 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:07 +0000 (15:04 +0000)
commitd4ece751c5c46ecd638d7d8ab1469eb887011897
tree1730bd5c10b63891147674163b6bdf2f6e20db66
parentc30ffc08a7bfc2bb494c2c6cb94c9b5577c815eb
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