This module solves the issue where the form key will be cached in a block.
This modules creates a placeholder in the cached block and replaces later the placeholder with the correct form key. The same replacement as with the session ID.
The modifications have been done in Mage_Core_Block_Abstract
with its methods _loadCache()
and _saveCache()
. The placeholder is generated in _getFormKeyPlaceholder()
. Another solution is not possible.
Code quality of this core file:
Please use modman or composer.org
OSL - Open Software Licence 3.0
Copyright (c) Zookal Pty Ltd, Sydney Australia
Cyrill Schumacher - My pgp public key
Made in Sydney, Australia :-)