[TYPO3-dev] Exclude get vars from cHash check.

Nikolas Hagelstein hagelstein at shr.cc
Thu Nov 29 14:11:51 CET 2007


Hi,
Steffen Kamper wrote:
> seems to be a forgotten feature.
Yeah...

> 
> There should be done something like
> if(is_array($this->excludeCHashVars) {
> $GET = array_diff($this->excludeCHashVars,$GET);
> }
> in function tslib_fe->makeCacheHash

Well more :
if(is_array($this->excludeCHashVars) {
 $GET = array_diff(t3lib_div::trimExplode(',', $this->excludeCHashVars,
1),$GET);
}

Defaulting it to "id, ..." would also make t3lib_div::trimExplode line 03447
obsolete :
 if (!t3lib_div::inList('id,type,no_cache,cHash,MP,ftu',$pKV[0]))

Afaik tslib_fe is initialized in index_ts.php so it has to be clearyfied how
to set "excludeCHashVars"

Cheers,
Nikolas
    




More information about the TYPO3-dev mailing list