mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
php7.2, count() issue in www/diag_dns.php for https://github.com/opnsense/core/issues/3400
This commit is contained in:
parent
fba5738048
commit
a0264aaa85
@ -32,6 +32,7 @@ require_once("guiconfig.inc");
|
||||
$resolved = array();
|
||||
$dns_speeds = array();
|
||||
if (!empty($_REQUEST['host'])) {
|
||||
$input_errors = array();
|
||||
$host = trim($_REQUEST['host'], " \t\n\r\0\x0B[];\"'");
|
||||
$host_esc = escapeshellarg($host);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user