Project

General

Profile

Actions

Bug #14770

closed

Check SSL (https) in /typo3/init.php and TYPO3_cliMode

Added by Dietrich Heise over 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-05-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #14558: Typo3-CLI-mode don't work with ssl-enabledClosedSebastian Kurfuerst2005-02-18

Actions
Actions

Also available in: Atom PDF