Bug #36624

In CLI context no (HTTP) request is present, thus token separation fails

Added by Karsten Dambekalns over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2012-04-26
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Security
Target version:TYPO3 Flow Base Distribution - 1.1
PHP Version: Complexity:
Has patch:No Affected Flow version:Git master

Description

separateActiveAndInactiveTokens() in Security\Context fails if $this->request is NULL. In that case, token separation should probably be skipped completely.

Associated revisions

Revision 1148aebf
Added by Karsten Dambekalns over 3 years ago

[BUGFIX] Skip token separation without request in Security\Context

separateActiveAndInactiveTokens() in Security\Context fails if
$this->request is NULL.

With this change, token separation is skipped completely in that case.

Change-Id: Ie5165e88ed8f1572fb6060764910b81fdca00915
Fixes: #36624
Releases: 1.1

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/10789

#2 Updated by Karsten Dambekalns over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF