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