[TYPO3-core] RFC: #10201: Duplicate cHash Values

Dmitry Dulepov dmitry at typo3.org
Tue Jan 20 20:24:34 CET 2009


Hi!

Dan Osipov wrote:
> Type: Bug
> Branches: trunk
> BT Reference: http://bugs.typo3.org/view.php?id=10201
> 
> Problem:
> See the discussion on the english list with the same title (can't
> provide a link to support.typo3.org, it doesn't have posts since
> December...)
> 
> The basic issue is that sometimes links point to the wrong page. This
> happens on our installation in tt_news due to large number articles.
> Often, after clearing realURL chashcache table, links point to the wrong
> articles. This patch should solve the issue.
> 
> Some extensions (like crawler) generate cHash themselves calling
> t3lib_div::shortMD5, so they will be broken. For this reason the patch
> can only be applied to the trunk. We have to apply it to 4.2.3 to solve
> the issue, so I am attaching the 4.2 patch for reference. realURL must
> also be changed to accommodate the larger cHash.

No one should generate cHash on their own. Only typolnk should do that. So we do not have to care about extensions that do not work correctly.

I propose to review this patch also for 4.2.

-- 
Dmitry Dulepov
TYPO3 core team
"Sometimes they go bad. No one knows why" (Cameron, TSCC, "Dungeons&Dragons")


More information about the TYPO3-team-core mailing list