Project

General

Profile

Bug #20845 » bug_11663_part2.diff

Administrator Admin, 2009-08-07 16:18

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php (Arbeitskopie)
$cHash_calc = t3lib_div::shortMD5(serialize($this->cHash_array));
if ($cHash_calc!=$this->cHash) {
if ($this->TYPO3_CONF_VARS['FE']['pageNotFoundOnCHashError']) {
if ($this->TYPO3_CONF_VARS['FE']['pageNotFoundOnCHashError'] || $this->TYPO3_CONF_VARS['FE']['disableNoCacheParameter']) {
$this->pageNotFoundAndExit('Request parameters could not be validated (&cHash comparison failed)');
} else {
$this->set_no_cache();
......
*/
function reqCHash() {
if (!$this->cHash) {
if ($this->TYPO3_CONF_VARS['FE']['pageNotFoundOnCHashError']) {
if ($this->TYPO3_CONF_VARS['FE']['pageNotFoundOnCHashError'] || $this->TYPO3_CONF_VARS['FE']['disableNoCacheParameter']) {
if ($this->tempContent) { $this->clearPageCacheContent(); }
$this->pageNotFoundAndExit('Request parameters could not be validated (&cHash empty)');
} else {
(2-2/7)