Remove duplicate .cherry-picked commit wasn't needed.

pull/3804/head
Isaac Connor 2023-12-29 11:25:10 -05:00
parent d2a264b79f
commit 7d5b91949c
1 changed files with 0 additions and 1 deletions

View File

@ -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;