diff --git a/src/PortAbstract.php b/src/PortAbstract.php index df3ec500..fb9d0b79 100644 --- a/src/PortAbstract.php +++ b/src/PortAbstract.php @@ -324,6 +324,7 @@ protected function url_modify($changes, $url) return (!empty($url_array['scheme']) ? $url_array['scheme'] . '://' : null) . (!empty($url_array['host']) ? $url_array['host'] : null) . + (!empty($url_array['port']) ? ':' . $url_array['port'] : null) . $url_array['path'] . '?' . http_build_query($query_array); } }