[BUGFIX] Use cHash in language menu links if necessary 42/21242/4
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Wed, 5 Jun 2013 13:05:49 +0000 (16:05 +0300)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 13 Mar 2014 08:23:37 +0000 (09:23 +0100)
commit393851892ead5121937ccbbbdb664b697c40f31c
treee9134e0a05951ec6b5bb97d172ef04a98aef17c1
parent0ef17e76cb0f17e8b703bd49f887c0f33d9b06b7
[BUGFIX] Use cHash in language menu links if necessary

Current menu implementation does not add the cHash in language
menus. This causes a non-cached page and performance
degradation if the page contains parameters and a user switches
between languages. Together with extensions like RealURL it
can become a long time issue because of the caching of wrong
URLs. The fix implements analysis for the query string and
relevant parameters to decide whether the cHash should be
added or not.

Change-Id: I711e732555e03c9bf5a1321523b505735aa20c41
Resolves: #33833
Releases: 6.2
Reviewed-on: https://review.typo3.org/21242
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php