changed the way the url is escaped. should fix #14
This commit is contained in:
@ -210,7 +210,7 @@ class http2pic
|
||||
$cmd.=' -f png';
|
||||
|
||||
//add url to cmd
|
||||
$cmd.=' '.escapeshellarg($this->params['url']);
|
||||
$cmd.=' \''.addslashes($this->params['url']).'\'';
|
||||
|
||||
//add storage path to cmd
|
||||
$cmd.=' '.escapeshellarg($this->params['file']);
|
||||
|
Reference in New Issue
Block a user