[BUGFIX] Wrong HTTP protocol in combination with a proxy
authorMichael Staatz <mstaatz@me.com>
Fri, 13 Apr 2012 18:46:11 +0000 (20:46 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 28 Apr 2012 14:35:26 +0000 (16:35 +0200)
commit126fb5ea15b8b3e2f8e6153ce5206fe54750074b
tree1ddc9412640165dadda9398e5cdbac2c5655e444
parentb0b2c0227f76b57b40395996416e8a2957e5c134
[BUGFIX] Wrong HTTP protocol in combination with a proxy

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')

Change-Id: I6fdf61df8597fb84b822fa840475182643b0b134
Fixes: #36004
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10685
Reviewed-by: Michael Staatz
Tested-by: Michael Staatz
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/class.t3lib_div.php