Skip to content
Snippets Groups Projects
Commit e418e847 authored by Reidar Cederqvist's avatar Reidar Cederqvist Committed by Yalu Zhang
Browse files

config_asterisk.sh: filter out any option or list item with new-line

This is to avoid cases where the uci option is directly pushed into the asterisk config without
checking the value, otherwise the value can contain a newline followed by a malicious asterisk config option+value.
Note that '\n' is allowed in the value of an option or list.
parent 33df4db1
No related branches found
No related tags found
1 merge request!119config_asterisk.sh: filter out any option or list item with new-line
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment