Project

General

Profile

Actions

Bug #14558

closed

Typo3-CLI-mode don't work with ssl-enabled

Added by Joerg Schoppet about 19 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2005-02-18
Due date:
% Done:

0%

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

Description

in the file typo3/init.php between line 178 and 192 is the ssl check.

If SSL is enabled and you want to run a CLI script, then the script ends at this position.

Enable SSL (required) and try to run a CLI-script.

The following line:
if (intval($TYPO3_CONF_VARS['BE']['lockSSL']))

should be replaced by this one:
if (intval($TYPO3_CONF_VARS['BE']['lockSSL']) && !(defined('TYPO3_cliMode') && TYPO3_cliMode))
(issue imported from #M815)


Files

bug_0815.patch (649 Bytes) bug_0815.patch Administrator Admin, 2005-11-11 11:38

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #15000: new option for lockSSL: get redirected to standard http after BE login with SSLClosedSebastian Kurfuerst2005-10-02

Actions
Has duplicate TYPO3 Core - Bug #14770: Check SSL (https) in /typo3/init.php and TYPO3_cliModeClosedSebastian Kurfuerst2005-05-30

Actions
Actions #1

Updated by Dietrich Heise over 18 years ago

I have submitted the same Problem here (I have not found this bugreport before)

http://bugs.typo3.org/view.php?id=1129

Actions #2

Updated by Sebastian Kurfuerst over 18 years ago

the attached patch changes the code as proposed.
Greets, Sebastian

Actions #3

Updated by Sebastian Kurfuerst over 18 years ago

fixed in CVS.

Actions

Also available in: Atom PDF