mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-28 19:33:10 -07:00
d44f07244a
When using AMI GetConfig, it was possible to access files outside of the Asterisk configuration directory by using filenames with ".." and "./" even while live_dangerously was not enabled. This change resolves the full path and ensures we are still in the configuration directory before attempting to access the file.