Issue Bug Closed

#58372TYPO3_SSL check with reverseProxySSL

Félix Horro Pita 04/30/14, 19:21 updated 10/02/18, 11:55

Description

Function getIndpEnv on t3lib/class.t3lib_div.php checks if the session uses https.
If you are behind a SSL Proxy, it compares getIndpEnv(‘REMOTE_ADDR’) with the proxy IP, but getIndpEnv(‘REMOTE_ADDR’) is the client IP, so it has no sense.

It must compare $_SERVER[‘REMOTE_ADDR’] with proxy IP (as it does finding proxy prefix).

Proposal fix attached as patch file.

Reviews 0

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