[TYPO3-mvc] TS conditions for caching not working with POST data

Felix Oertel mehl at foertel.com
Thu Aug 19 11:55:18 CEST 2010


Hey you guys,

like Franz Koch mentioned the other day (week/month/year ?) we got some 
issues when sending data per POST request. The TSparser will use 
t3lib_div::_GP() to fetch the controller and action, but _GP() will 
return the POST array. In the POST array there is no information about 
the controller and action (as long as you don't specify it as hidden 
fields ... but you don't want to do that) and the TS condition - 
generated by extbase to distinguish wether to cache the action or not - 
will fail.

My first thought was to put the controller and action into the form via 
hidden fields in f:form (like the referrer and hmac info). Comes out 
this works quit well. ;-)

Would you mind to take a look and test this a little so we can see if we 
provide it as a patch?

regards, foertel


More information about the TYPO3-project-typo3v4mvc mailing list