#14770Check SSL (https) in /typo3/init.php and TYPO3_cliMode
Description
If
$TYPO3_CONF_VARS[‘BE’][‘lockSSL’]==2
(or 1)
is set in the localconf.php the TYPO3_cliMode will not work! In this case the init.php try to redirect to https:// but we use the cliMode and there it is no https…
All cli scripts will die here without an error.
Better to change the check from
if (intval($TYPO3_CONF_VARS[‘BE’][‘lockSSL’])) {
to
if (intval($TYPO3_CONF_VARS[‘BE’][‘lockSSL’]) && !(defined(‘TYPO3_cliMode’)) {
(issue imported from #M1129)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.