Bug #36004

Wrong HTTP protocol in combination with a proxy

Added by Michael Staatz over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-04-13
Due date:
% Done:

100%

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

Description

When a reverse proxy is configured in $TYPO3_CONF_VARS and you call
t3lib_div::getIndpEnv('TYPO3_SSL') it returns the wrong protocol.

You can reproduce this in the following way:
If realUrl has the configuration to take the next higher level in the page tree in the case of not finding the current page
then the protocol will be changed by the static method t3lib_div::getIndpEnv('TYPO3_SSL')

Example:

http://url-zur-seite/die-es nicht-gibt

results

https://url-zur-seite

Also available in: Atom PDF