[TYPO3-ect] 4.1.0: Request parameters could not be validated

Elmar HInz elmar.hinz at team.MINUS.red.DOT.net
Wed Mar 7 13:31:06 CET 2007


> 
> Just an add-on for this comment. If you have a single entry-point for
> your plugin that handles USER and USER_INT, you just have to set
> 
> 	var $pi_checkCHash = FALSE;
> 
> and then call
> 
> 	$GLOBALS['TSFE']->reqCHash();
> 
> directly depending on the situation.
> 
> The pi_checkCHash variable was just added as a convenience for extension
> developers of USER-plugins. In this case, the reqCHash() check will
> happen before the call to "main" (in the constructor of pi_base), so
> that your plugin won't even be called if this check fails (with
> pageNotFoundOnCHashError=1).
> 
> Cheer,
> Ernesto


Hi Ernesto,

$pi_checkCHash is part of tslib_pibase that lib/div doesn't depend on.

With lib/div we try to simplify the usage as much as possible. Every
setting should be avoided, wich is not really necessary. Most settings
could be handled automatically by the framework.

Now to have a "single point of setting" we have to decide if this point is
inside the plugin or if this point is in TS. In the current model this
point is the selection of a USER or USER_INT object in TS. So everything
should be evaluated automatically based on that setting. 

So the on of the next step will be to read this setting from inside of the
lib/div controller.

Regards

Elmar































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