From a70fb2d898fd9934b0a6daeba3aa13d04105d77c Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 2 Nov 2018 15:58:54 +0100 Subject: remove explicit https ports since we force http protocol --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index aaca191..9ff426e 100644 --- a/it.class +++ b/it.class @@ -166,7 +166,7 @@ static function error($p = array()) return $p['fatal'] ? exit(99) : null; if ($_SERVER['REMOTE_ADDR']) - $url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; # we ignore https for easier debugging + $url = "http://" . it::replace([':443$' => ""], $_SERVER['HTTP_HOST']) . $_SERVER['REQUEST_URI']; # we ignore https for easier debugging else $url = $_SERVER['SCRIPT_NAME'] . " " . join(" ", array_slice($GLOBALS['argv'], 1)) . " (pwd " . $_SERVER['PWD'] . ")"; -- cgit v1.2.3