Issue Bug Closed

#86381Backend SSL forwarding does not work

Thomas Schur Schur 09/25/18, 23:27 updated 03/26/20, 10:06

Description

When I activate SSL forwarding in the backend:
LocalConfiguration.php: [‘BE’][‘lockSSL’] => true,

Then a forwarding is made in this function:
\TYPO3\CMS\Backend\Middleware\ForcedHttpsBackendRedirector::process()
Line 48: $request->getAttribute(‘normalizedParams’)->getSiteUrl()

The siteUrl is filled by this method:
$result = \TYPO3\CMS\Core\Http\NormalizedParams::determineSiteUrl(
‘http://www.typo3cms9.vm/’,
‘/typo3cms9/public/typo3/index.php’,
‘/typo3cms9/public/‘
);
And is this here with me:
$result = ‘http://www.typo3cm/’;

Would not it be better to use parse-url for this method?
http://php.net/manual/en/function.parse-url.php

TYPO3 v9.4.0

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.