[TYPO3-ect] tx_base - tslib_pibase modernized

Elmar Hinz elmar.hinz at team.MINUS.red.DOT.net
Tue Apr 3 12:27:12 CEST 2007


Am Tue, 03 Apr 2007 11:35:51 +0200 schrieb Ernesto Baschny [cron IT]:

> 
> I mean the extension might not care about it, but if you set
> "pi_checkCHash" to TRUE it is TYPO3 who will check if the cHash is
> correct. As soon as you set the pageNotFoundOnCHashError to 1 and your
> USER_INT starts using piVars in _GET, you will get TYPO3 errors
> ("Request parameters could not be validated").
> 

I am aware of this problem. Without the pageNotFoundOnCHashErr cache
handling is easier to understand than with pageNotFoundOnCHashErr=1,
because we could set pi_checkCHash always to on and the extension
developer has not to care about it anymore.

Maybe it's a kind of conceptional bug in the core. The current fix
of this bug is to ser pageNotFoundOnCHashErr=0. Wouldn't it be possible to
alter the pageNotFoundOnCHashError behaviour by an additional condition: 

*******************************************************************
Onlycheck the cHash if a cHash has been given.  
*******************************************************************

That would IMHO solve the problem.


Regards

Elmar




More information about the TYPO3-team-extension-coordination mailing list