Skip to content

Commit 9fef517

Browse files
MAGETWO-71955: fix ports number #10668
- Merge Pull Request #10668 from Veriteworks/magento2:fixports - Merged commits: 1. acddcce
2 parents 24f2f07 + acddcce commit 9fef517

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
@@ -268,7 +268,7 @@ public function getHostUrl()
268268
$isSecure = (!empty($_SERVER['HTTPS'])) && ($_SERVER['HTTPS'] != 'off');
269269
$url = ($isSecure ? 'https://' : 'http://') . $host;
270270

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

0 commit comments

Comments
 (0)