From e194e2d500d85ed3dfb0d7c9382c487e1a59dd37 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Wed, 24 Sep 2025 14:28:54 +0300 Subject: [PATCH] Revert "Fix to make sure SSL_HOST also has port set" This reverts commit adf36a177d8a7be434eb9cf49d7e372b9c2458e2. --- miniserv.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/miniserv.pl b/miniserv.pl index ff4e75afb..37fe6ad3f 100755 --- a/miniserv.pl +++ b/miniserv.pl @@ -2504,8 +2504,6 @@ if (&get_type($full) eq "internal/cgi" && $validated != 4) { $ENV{"SSL_HSTS"} = $config{"ssl_hsts"}; if ($use_ssl) { $ENV{"SSL_HOST"} = $ssl_host; - $ENV{"SSL_HOST"} .= ":".$port - if ($port && $port !~ /^(80|443)$/); $ENV{"SSL_HOST_CERT"} = &ssl_hostname_match($ssl_host, $ssl_cert_hosts); }