[asterisk-dev] New manager action: CreateConfig

Michiel van Baak michiel at vanbaak.info
Tue Feb 12 09:37:21 CST 2008


On 16:16, Tue 12 Feb 08, Johansson Olle E wrote:
> What happens if I use an argument of "../rc.conf" or "../passwd" ?
> 
> I suggest we filter file name arguments for ".." and "/" in the  
> arguments of all these configuration actions.
> 
> /O

Please make that a regex like '^\.\.' and ^\/'
I use subdirs to store my configs so filtering on plain /
wont be nice for me

-- 

Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer aficionados are both called users?"




More information about the asterisk-dev mailing list