Project

General

Profile

Actions

Bug #53974

closed

Environment variables prefixed with REDIRECT_ ignored

Added by Mathias Brodala about 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-11-26
Due date:
% Done:

100%

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

Description

Using Apache mod_rewrite in certain setups (mostly PHP in CGI mode) makes environment variables from original requests available in the target request as REDIRECT_<envvar>, thus e.g. setting TYPO3_DISABLED_CORE_UPDATER becomes REDIRECT_TYPO3_DISABLED_CORE_UPDATER.

This should be handled transparently by GeneralUtility::getIndpEnv() and relevant locations be updated (e.g. TYPO3_CONTEXT, TYPO3_DISABLE_CORE_UPDATER).


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #58358: Use REDIRECT_TYPO3_CONTEXT as fallback for TYPO3_CONTEXT environment variable Closed2014-04-30

Actions
Precedes TYPO3 Core - Bug #53188: REDIRECT_TYPO3_DISABLE_CORE_UPDATER ignoredClosed2013-11-272013-11-27

Actions
Actions #1

Updated by Mathias Brodala about 11 years ago

What would be the impact including GeneralUtility into \Core\Bootstrap::getInstance() to handle REDIRECT_TYPO3_CONTEXT?

Actions #2

Updated by Chris topher over 10 years ago

  • Status changed from New to Closed
  • Target version deleted (6.2.0)

Duplicate of #53188.

Actions #3

Updated by Gerrit Code Review over 10 years ago

  • Status changed from Closed to Under Review

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25123

Actions #4

Updated by Gerrit Code Review over 10 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25123

Actions #5

Updated by Gerrit Code Review over 10 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25123

Actions #6

Updated by Steffen Müller over 10 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF