We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c02c10 commit 7c526bcCopy full SHA for 7c526bc
app/code/core/Mage/Adminhtml/Controller/Action.php
@@ -389,7 +389,7 @@ protected function _validateSecretKey()
389
}
390
391
if (!($secretKey = $this->getRequest()->getParam(Mage_Adminhtml_Model_Url::SECRET_KEY_PARAM_NAME, null))
392
- || $secretKey != Mage::getSingleton('adminhtml/url')->getSecretKey()) {
+ || !hash_equals(Mage::getSingleton('adminhtml/url')->getSecretKey(), $secretKey)) {
393
return false;
394
395
return true;
0 commit comments