]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 20 Mar 2025 18:34:08 +0000 (18:34 +0000)
commitd184ae428df0740da02bf7ba7d9e7a7fcb7502fd
tree199dc5e5a50a5f0bc719895b370d64f3b59c8f52
parent77c6bf844f20c1ac43d1f98c00f92fe8cee3adc0
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
(cherry picked from commit d4ece751c5c46ecd638d7d8ab1469eb887011897)
main/manager.c