[TYPO3-english] unwanted cHash is generated in 50% links from USER_INT plugin

Dmitry Martynenko dima at realt.by
Sun Oct 12 11:23:12 CEST 2008


Hi Dmitry,

>> Links are generated from *one place* in plugin using this function call:
>> 
>> $this->singlePageId = $GLOBALS["TSFE"]->id;
>> $linkText = 'link text...';
>> $urlParameters = array('unid' => $rowData['code'], 'photo' => 1);
>> $link = $this->pi_linkTP($linkText, $urlParameters, 1, $this->singlePageId.' _blank');

DD> If you want to get rid of cHash I suggest to check what the third parameter to pi_linkTP means ;)

I try to set third parameter $cache to 0, but it is not solved problem.
Link with cHash and without it are generated:

sale/cottages/object/1005255/photo/ ?id=75&unid=1005255&photo=1&cHash=610751bf45  12-10-08 12:12 / 3 min
sale/cottages/object/33682/photo/ ?id=75&unid=33682&photo=1  12-10-08 12:11 / 3 min 
sale/cottages/object/4716/photo/ ?id=75&unid=4716&photo=1&cHash=65d4e65859  12-10-08 12:14 / 1 min 
sale/cottages/object/49700/photo/ ?id=75&unid=49700&photo=1&cHash=dd8523e637  12-10-08 12:14 / 1 min 
sale/cottages/object/68384/photo/ ?id=75&unid=68384&photo=1  12-10-08 12:13 / 1 min 
sale/cottages/object/76602/photo/ ?id=75&unid=76602&photo=1  12-10-08 12:13 / 2 min 
sale/cottages/object/77264/photo/ ?id=75&unid=77264&photo=1  12-10-08 12:12 / 2 min 
sale/cottages/object/80408/ ?id=75&unid=80408&cHash=dd540a83f3

Can I hook something to see normal url in form "?id=75&..." after call to pi_linkTP ?
Thus I'll can log urls to locate when cHash is added.

-- 
Dmitry Martynenko
Developer

Web: http://realt.by



More information about the TYPO3-english mailing list