Skip to content
Snippets Groups Projects
Commit 2b40a5e2 authored by Michael Staatz's avatar Michael Staatz Committed by Tolleiv Nietsch
Browse files

[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: I7a3c74c117753edfc1b9552d4110479f3a013f46
Fixes: #36004
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/10433
Reviewed-by: Sebastian Popovic
Tested-by: Sebastian Popovic
Reviewed-by: Tom Ruether
Tested-by: Tom Ruether
Reviewed-by: Chris Wittmann
Tested-by: Chris Wittmann
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
parent 0a1b7b73
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment