|
@@ -74,6 +74,7 @@ class RedirectController extends ContainerAware
|
|
if (null === $scheme) {
|
|
if (null === $scheme) {
|
|
$scheme = $request->getScheme();
|
|
$scheme = $request->getScheme();
|
|
}
|
|
}
|
|
|
|
+
|
|
$qs = $request->getQueryString();
|
|
$qs = $request->getQueryString();
|
|
if ($qs) {
|
|
if ($qs) {
|
|
$qs = '?'.$qs;
|
|
$qs = '?'.$qs;
|
|
@@ -82,7 +83,7 @@ class RedirectController extends ContainerAware
|
|
$port = '';
|
|
$port = '';
|
|
if ('http' === $scheme && 80 != $httpPort) {
|
|
if ('http' === $scheme && 80 != $httpPort) {
|
|
$port = ':'.$httpPort;
|
|
$port = ':'.$httpPort;
|
|
- } elseif ('https' === $scheme && 443 != $httpPort) {
|
|
|
|
|
|
+ } elseif ('https' === $scheme && 443 != $httpsPort) {
|
|
$port = ':'.$httpsPort;
|
|
$port = ':'.$httpsPort;
|
|
}
|
|
}
|
|
|
|
|