Project

General

Profile

Actions

Bug #29366

closed

Disabling the cache does not work on invalid cHash value

Added by Daniel Poetzinger over 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
Start date:
2011-08-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

The conditions:

$TYPO3_CONF_VARS['FE']['pageNotFoundOnCHashError'] = 0;
$TYPO3_CONF_VARS['FE']['disableNoCacheParameter'] = 1;

URL with wrong cHash like
http://domain.com?id=1&someArgument=10000&cHash=ABCDEF

tslib_fe:makeCacheHash() will call tslib_fe::set_no_cache() and that
method will do nothing since 'disableNoCacheParameter' is enabled. So
the cache is not disabled to that request. If not there is no cache it
in the database, the contents will be created and cached.

So it should be possible to create a script that loops over the cHash
and iterates it.

Actions

Also available in: Atom PDF