Bug #29366
closedDisabling the cache does not work on invalid cHash value
100%
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.
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change I9df3d7b4bf1d565fc5a429bad6ee2d3d186f6044 has been pushed to the review server.
It is available at http://review.typo3.org/4705
Updated by Daniel Poetzinger about 13 years ago
- % Done changed from 0 to 100
Updated by Mr. Hudson about 13 years ago
Patch set 2 of change I9df3d7b4bf1d565fc5a429bad6ee2d3d186f6044 has been pushed to the review server.
It is available at http://review.typo3.org/4705
Updated by Steffen Gebert about 13 years ago
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
Updated by Daniel Poetzinger about 13 years ago
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.
Updated by Andreas Wolf about 13 years ago
- 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?
Updated by Ernesto Baschny about 13 years ago
- Target version changed from 4.6.0-beta3 to 4.5.6
@Andreas Otto †, definitively!
Updated by Mr. Hudson about 13 years ago
Patch set 3 of change I9df3d7b4bf1d565fc5a429bad6ee2d3d186f6044 has been pushed to the review server.
It is available at http://review.typo3.org/4705
Updated by Mr. Hudson about 13 years ago
Patch set 4 of change I9df3d7b4bf1d565fc5a429bad6ee2d3d186f6044 has been pushed to the review server.
It is available at http://review.typo3.org/4705
Updated by Oliver Hader about 13 years ago
- 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
Updated by Mr. Hudson about 13 years ago
Patch set 5 of change I9df3d7b4bf1d565fc5a429bad6ee2d3d186f6044 has been pushed to the review server.
It is available at http://review.typo3.org/4705
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change Ia58a6eafc9cf6d02ee6066d2c2d4b976505399f1 has been pushed to the review server.
It is available at http://review.typo3.org/4942
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change I6b2d069a61185290ee902d1222d62d6edbb15ffd has been pushed to the review server.
It is available at http://review.typo3.org/4943
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change I01184ebda0f8667b431f371db155f06e9f0ed898 has been pushed to the review server.
It is available at http://review.typo3.org/4944
Updated by Daniel Poetzinger about 13 years ago
- Status changed from Accepted to Resolved
Applied in changeset a55bbdef375342e46c2dbba48b9b6df3b653a8de.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed