From 387414806453201d85d5775def7d3e3e939855ca Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 8 Sep 2025 08:44:44 +0200 Subject: [PATCH] Save bytes --- adminer/include/auth.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/auth.inc.php b/adminer/include/auth.inc.php index f0476d98..e0e5ce1e 100644 --- a/adminer/include/auth.inc.php +++ b/adminer/include/auth.inc.php @@ -172,7 +172,7 @@ if (isset($_GET["username"]) && !class_exists('Adminer\Db')) { $connection = ''; if (isset($_GET["username"]) && is_string(get_password())) { - list($host, $port) = host_port(SERVER); + list(, $port) = host_port(SERVER); if (preg_match('~^\s*([-+]?\d+)~', $port, $match) && ($match[1] < 1024 || $match[1] > 65535)) { // is_numeric('80#') would still connect to port 80 auth_error(lang('Connecting to privileged ports is not allowed.'), $permanent); }