Remove duplicate .cherry-picked commit wasn't needed.
parent
d2a264b79f
commit
7d5b91949c
|
@ -6,7 +6,6 @@ class HostController extends AppController {
|
|||
public $components = array('RequestHandler');
|
||||
|
||||
public function daemonCheck($daemon=false, $args=false) {
|
||||
$count = 0;
|
||||
# To try to prevent abuse here, we are only going to allow certain characters in the daemon and args.
|
||||
$count = 0;
|
||||
$safe_daemon = $daemon ? preg_replace('/[^A-Za-z0-9\- \.]/', '', $daemon, -1, $count) : false;
|
||||
|
|
Loading…
Reference in New Issue