fixed previous commit

This commit is contained in:
Fabien Potencier 2012-03-24 00:31:38 +01:00
parent c4dfe931f1
commit a00ae273a6
1 changed files with 1 additions and 1 deletions

View File

@ -833,7 +833,7 @@ class Request
// Remove port number from host
$host = preg_replace('/:\d+$/', '', $host);
// host is lowercase as per RFC2616
// host is lowercase as per RFC 952/2181
return trim(strtolower($host));
}