Bug #29366
closed
Disabling the cache does not work on invalid cHash value
Added by Daniel Poetzinger about 13 years ago.
Updated about 7 years ago.
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.
Patch set 1 of change I9df3d7b4bf1d565fc5a429bad6ee2d3d186f6044 has been pushed to the review server.
It is available at http://review.typo3.org/4705
- % Done changed from 0 to 100
Patch set 2 of change I9df3d7b4bf1d565fc5a429bad6ee2d3d186f6044 has been pushed to the review server.
It is available at http://review.typo3.org/4705
Thanks for the patch, Daniel.
What do you mean with that?
So it should be possible to create a script that loops over the cHash and iterates it.
I have updated your commit to contain your bug description in the commit message. Could you please check, whether it still makes sense?
Thanks
Steffen
Sure - still makes sense - thanks!
The sentence is a bit confusing - what it means is, that a call like ?someparameter=1&cHash=someWrongChash will result in new cache entry if the TYPO3 settings are like described.
- Category set to Caching
- Target version set to 4.6.0-beta3
- Complexity changed from no-brainer to easy
Would it make sense to also include that into 4.5?
- Target version changed from 4.6.0-beta3 to 4.5.6
Patch set 3 of change I9df3d7b4bf1d565fc5a429bad6ee2d3d186f6044 has been pushed to the review server.
It is available at http://review.typo3.org/4705
Patch set 4 of change I9df3d7b4bf1d565fc5a429bad6ee2d3d186f6044 has been pushed to the review server.
It is available at http://review.typo3.org/4705
- Subject changed from Flooding of TYPO3 Cache to Disabling the cache does not work on invalid cHash value
- Status changed from New to Accepted
- Target version changed from 4.5.6 to 4.3.14
- TYPO3 Version changed from 4.6 to 4.3
Patch set 5 of change I9df3d7b4bf1d565fc5a429bad6ee2d3d186f6044 has been pushed to the review server.
It is available at http://review.typo3.org/4705
Patch set 1 of change Ia58a6eafc9cf6d02ee6066d2c2d4b976505399f1 has been pushed to the review server.
It is available at http://review.typo3.org/4942
Patch set 1 of change I6b2d069a61185290ee902d1222d62d6edbb15ffd has been pushed to the review server.
It is available at http://review.typo3.org/4943
Patch set 1 of change I01184ebda0f8667b431f371db155f06e9f0ed898 has been pushed to the review server.
It is available at http://review.typo3.org/4944
- Status changed from Accepted to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF