Bug #20845 » bug_11663_part2.diff
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 {
|