[FrameworkBundle] removed the need to specify the http/https port when you don't switch from http to https or the other way round

This commit is contained in:
Fabien Potencier 2011-04-29 16:42:49 +02:00
parent 2eb06bee1e
commit 746ac2d24e

View File

@ -82,8 +82,8 @@ class RequestListener
$request->getMethod(),
$request->getHost(),
$request->getScheme(),
$this->httpPort,
$this->httpsPort
$request->isSecure() ? $this->httpPort : $request->getPort(),
$request->isSecure() ? $request->getPort() : $this->httpsPort
);
if ($session = $request->getSession()) {