Project

General

Profile

Actions

Feature #17862

closed

Make excludeCHashVars work

Added by Nikolas Hagelstein almost 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-11-29
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

class.tslib_fe.php consiste of the excludeCHashVars property but it isnt implemented yet.

There is the need to exclude certains GET varv from chash in order to make a
USER/USER_INT "switch" work where the USER_INT's output depends on get parameters.

Sample:

class tx_myext_pi1 extends tslib_pibase {
var $prefixId = 'tx_myext_pi1';
var $scriptRelPath = 'pi1/class.tx_myext_pi1.php';
var $extKey = 'myext';
var $pi_checkCHash = true;

function main() {
....
$TS['conf']='COA_INT';
$TS['conf.']['10']='USER';
$TS['conf.']['10.']['userFunc']='tx_myext_pi1->renderUncachedBacklink';
$content = $this->renderCachedDetails($this->piVars['uid']);
$content .= $this->cObj->cObjGetSingle($TS['conf'],$TS['conf.']);
function renderUncachedBacklink() {
return '<a href=" .$this->piVars['heavyVariatingBackUrlThatShouldExcludedFromChash'] . '">back</a>';
}
function renderCachedDetails($uid) {
// return some database content depending on $uid -> inCluded to CHash.
}
}

}
(issue imported from #M6857)


Files

cHashTunnel_v2.patch (6.45 KB) cHashTunnel_v2.patch Administrator Admin, 2007-11-30 12:00

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #17115: Wrong &chash values should trigger an errorClosedMathias Schreiber2007-03-12

Actions
Actions

Also available in: Atom PDF