fixed previous commit
This commit is contained in:
parent
c4dfe931f1
commit
a00ae273a6
@ -833,7 +833,7 @@ class Request
|
|||||||
// Remove port number from host
|
// Remove port number from host
|
||||||
$host = preg_replace('/:\d+$/', '', $host);
|
$host = preg_replace('/:\d+$/', '', $host);
|
||||||
|
|
||||||
// host is lowercase as per RFC2616
|
// host is lowercase as per RFC 952/2181
|
||||||
return trim(strtolower($host));
|
return trim(strtolower($host));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user