]> 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:08 +0000 (15:04 +0000)
commitbac20a4c09090e2902c0352cdf1ae26012ffd193
tree4e804adaa429464a3ae5987f893023a92e3bc1ee
parent5e187e528bb589dd328f51ad30e89bcb7025f3e8
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