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

Oliver Hader oliver at typo3.org
Fri Mar 20 18:29:46 CET 2009


Dmitry Dulepov schrieb:
> Dan Osipov wrote:
>> 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.
> 
> What does core team think about it?

I see that it can happen that the same short/current cHashes refer to
different parameters since only the first 10 characters are used of the
MD5 algorithm.

> I am in favor of using full md5(). It is correct from formal point of view. The only drawbacks that I see are:
> - longer URLs
> - sometimes 404 because of the wrong cHash if followed from Google

I'm fine with using real MD5 in Trunk. For 4.2 I would not use it since
it will break existing and distributed links. However, it might be
possible to provide some kind of "mapping" for short->long as extension
in the TER (just an idea)...

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list