[TYPO3-core] RFC: Bug #15282: It is impossible to set links to files any more with the link wizard

Oliver Hader oliver at typo3.org
Fri Jul 30 19:52:14 CEST 2010


Hi Steffen,

Am 30.07.10 17:25, schrieb Steffen Kamper:
> Hi olly,
> 
> +1 by reading and testing in trunk using debugs. Obvious that the
> problem is the same in older versions, as this check never is valid:
> 
> protected function areFieldChangeFunctionsValid() {
>         return (
>             isset($this->P['fieldChangeFunc']) &&
> is_array($this->P['fieldChangeFunc']) &&
> isset($this->P['fieldChangeFuncHash'])
>             && $this->P['fieldChangeFuncHash'] ==
> t3lib_div::hmac(serialize($this->P['fieldChangeFunc']))
>         );
>     }
> 

The check is valid, but only for the first request. The second request
inside the element browser does not forward the hash nor recalculates
it. Thanks for your review.

olly
-- 
Oliver Hader
TYPO3 v4 Core Team Leader


More information about the TYPO3-team-core mailing list