Project

General

Profile

Actions

Bug #17115

closed

Wrong &chash values should trigger an error

Added by Michael Stucki about 17 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2007-03-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

TYPO3 uses a parameter "&cHash" to cache different views of the same page (e.g. a plugin containing a record browser).

If the &cHash parameter is wrong, someone has most likely modified a link generated by TYPO3 manually.

The behaviour for such a case can be changed through $TYPO3_CONF_VARS['FE']['pageNotFoundOnCHashError']. Up to TYPO3 4.1, this is set to false which means that no error is triggered, but caching will be disabled for that page.

This is a new attempt for fixing a known problem. The fix was in TYPO3 between 4.1beta2 and 4.1RC2, but was reverted recently before 4.1 final.

The reason for reverting it was that many buggy extensions have always worked fine even though the chash value was wrong. They just had no_cache enabled, so most likeley nobody noticed.

By reintroducing the patch for TYPO3 4.2 I want to give extension authors several months time to fix their eventually broken extensions.
(issue imported from #M5209)


Files

bug_5209.diff (3.33 KB) bug_5209.diff Administrator Admin, 2007-03-12 23:51

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #16953: RC1: Request parameters could not be validatedClosedMichael Stucki2007-02-08

Actions
Related to TYPO3 Core - Bug #17002: cHash is not recreated on disposal in config.linkVarsClosed2007-02-17

Actions
Related to TYPO3 Core - Feature #17862: Make excludeCHashVars workClosed2007-11-29

Actions
Actions

Also available in: Atom PDF