Skip to content

Commit e74bea1

Browse files
committed
Typo in SSL port number
1 parent 50f62cb commit e74bea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pub/errors/processor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public function getHostUrl()
256256
$isSecure = (!empty($_SERVER['HTTPS'])) && ($_SERVER['HTTPS'] != 'off');
257257
$url = ($isSecure ? 'https://' : 'http://') . $host;
258258

259-
if (!empty($_SERVER['SERVER_PORT']) && !in_array($_SERVER['SERVER_PORT'], [80, 433])
259+
if (!empty($_SERVER['SERVER_PORT']) && !in_array($_SERVER['SERVER_PORT'], [80, 443])
260260
&& !preg_match('/.*?\:[0-9]+$/', $url)
261261
) {
262262
$url .= ':' . $_SERVER['SERVER_PORT'];

0 commit comments

Comments
 (0)