Hi nochmal,
offensichtlich liegt hier ein Bug in Typo3 vor, der auch schon entdeckt wurde:
http://bugs.typo3.org/view.php?id=5117 Zitat:
I've found an error in function typolink of class.tslib_content.php
Line 5222 :
$pA = t3lib_div::cHashParams($addQueryParams.$GLOBALS['TSFE']->linkVars);
Here linkvars are appended to additionalParams, wich is wrong, because when the url is build (in class.tstemplate.php, function linkData, line 1382), linkVars are prepended (that allows additionalParams to ovveride linkVars).
Also when a typolink tries to override a linkVar, the cHash is always wrong !
Example : overriding L parameter from value 1 to value 2 :
cHash is calculated for &L=2&L=1, but the final link will be &L=1&L=2
Also I propose to replace the line 5222 (in class.tslib_content.php)
$pA=t3lib_div::cHashParams($addQueryParams.$GLOBALS['TSFE']->linkVars);
by this :
$pA=t3lib_div::cHashParams($GLOBALS['TSFE']->linkVars.$addQueryParams);
|
Ich habe nun dieses patch in die Datei geschrieben. Nun wird in der Tat für die beiden Links ein anderer cHash generiert. ... leider ist der eine von beiden falsch.
Das sagt zumindest Typo3 wenn ich $TYPO3_CONF_VARS['FE']['pageNotFoundOnCHashError'] = 1 setze.
bin ja schon mal ganz stolz so weit gekommen zu sein. Nur wie geht's hier weiter? Wie kann dieser zweite cHash auch noch richtig werden?
Sareen