Project

General

Profile

Actions

Bug #62484

closed

If cookieSecure is set to 1, scheduler tasks trigger via CLI can fail

Added by Patrick Schriner about 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2014-10-27
Due date:
% Done:

0%

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

Description

If cookieSecure is set to 1 the check for TYPO3_SSL in

\TYPO3\CMS\Core\Authentication\AbstractUserAuthentication::setSessionCookie()

will fail (as TYPO3_SSL is not set when called via CLI).

I'm not sure if this really a bug; Should dontSetCookie be set in these cases??

Actions #1

Updated by Mathias Schreiber over 8 years ago

  • Status changed from New to Resolved
        if (TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_CLI) {
            $backendUser->dontSetCookie = true;
        }

taken from bootstrap.

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF