[TYPO3-core] Comment for forge #25099

Jigal van Hemert jigal at xs4all.nl
Sun Feb 5 20:38:08 CET 2012


Hi,

On 5-2-2012 14:30, Markus Klein wrote:
> Can I please have some comments on how to deal with this
> http://forge.typo3.org/issues/25099?

The only call left is indeed:

// Splitting by a '+' sign - used for base64/md5 methods of parameter 
encryption for simulate static documents.
list($pgID,$SSD_p)=explode('+',$this->idParts[0],2);
if ($SSD_p)	{	$this->idPartsAnalyze($SSD_p);	}
$this->id = $pgID;	// Set id

You could introduce a hook that would allow simulatestatic to do the 
exploding, parsing, etc. and finally overwrite $this->id.

The hook subscriber could live inside tx_simulatestatic, or 
tx_simulatestatic::idPartsAnalyze() could be made static.

-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert.


More information about the TYPO3-team-core mailing list