We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c3cc40 commit c2383c8Copy full SHA for c2383c8
src/Request.php
@@ -402,6 +402,7 @@ public static function getPathInfo()
402
public static function getUrl()
403
{
404
$url = static::getScheme() . '://' . static::getHost();
405
+
406
if ((static::getScheme() === 'https' && static::getPort() !== 443) || (static::getScheme() === 'http' && static::getPort() !== 80)) {
407
$url .= ":" . static::getPort();
408
}
0 commit comments