Project

General

Profile

Bug #21345 » bug_12322_class.t3lib_div.diff

Administrator Admin, 2009-10-28 11:10

View differences:

class.t3lib_div.php (Arbeitskopie)
foreach($params as $theP) {
$pKV = explode('=', $theP); // Splitting single param by '=' sign
if (!t3lib_div::inList('id,type,no_cache,cHash,MP,ftu,L',$pKV[0]) && !preg_match('/TSFE_ADMIN_PANEL\[.*?\]/',$pKV[0])) {
$pA[rawurldecode($pKV[0])] = (string)rawurldecode($pKV[1]);
$paramsValue = (string)rawurldecode($pKV[1]);
if($paramsValue) $pA[rawurldecode($pKV[0])] = $paramsValue;
}
}
// Hook: Allows to manipulate the parameters which are taken to build the chash:
......
}
}
}
// Finish and sort parameters array by keys:
$pA['encryptionKey'] = $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'];
ksort($pA);
if(count($pA)){
$pA['encryptionKey'] = $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'];
ksort($pA);
}
return $pA;
}
(3-3/4)