From 94fc0cccdc49962e3111e291de8800a0d2d50837 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Thu, 11 Jul 2013 16:56:10 -0400 Subject: [PATCH] [ticket/11647] Allow custom ports Allow custom port number in schema-relative URLs PHPBB3-11647 --- phpBB/includes/template/asset.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/phpBB/includes/template/asset.php b/phpBB/includes/template/asset.php index f3b18a102a..99ac1f0ca7 100644 --- a/phpBB/includes/template/asset.php +++ b/phpBB/includes/template/asset.php @@ -40,10 +40,6 @@ class phpbb_template_asset { // Workaround for PHP 5.4.6 and older bug #62844 - add fake scheme and then remove it $this->components = parse_url('http:' . $url); - if (isset($this->components['port'])) - { - return; - } unset($this->components['scheme']); return; }