Issue Bug Closed

#36004Wrong HTTP protocol in combination with a proxy

Michael Staatz 04/13/12, 19:46 updated 09/26/12, 22:40

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.