Project

General

Profile

Bug #58372 » class.t3lib_div.patch

Félix Horro Pita, 2014-04-30 19:21

View differences:

class.t3lib_div.php 2014-04-30 12:52:39.763065574 -0400
if ($proxySSL == '*') {
$proxySSL = $GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyIP'];
}
if (self::cmpIP(self::getIndpEnv('REMOTE_ADDR'), $proxySSL)) {
if (self::cmpIP($_SERVER['REMOTE_ADDR'], $proxySSL)) {
$retVal = TRUE;
} else {
$retVal = $_SERVER['SSL_SESSION_ID'] || !strcasecmp($_SERVER['HTTPS'], 'on') || !strcmp($_SERVER['HTTPS'], '1') ? TRUE : FALSE; // see http://bugs.typo3.org/view.php?id=3909
    (1-1/1)