Page MenuHomePhabricator

D14455.diff
No OneTemporary

D14455.diff

diff --git a/src/applications/metamta/receiver/PhabricatorObjectMailReceiver.php b/src/applications/metamta/receiver/PhabricatorObjectMailReceiver.php
--- a/src/applications/metamta/receiver/PhabricatorObjectMailReceiver.php
+++ b/src/applications/metamta/receiver/PhabricatorObjectMailReceiver.php
@@ -126,7 +126,7 @@
$expect_hash = self::computeMailHash($object->getMailKey(), $check_phid);
- if ($expect_hash != $parts['hash']) {
+ if (!phutil_hashes_are_identical($expect_hash, $parts['hash'])) {
throw new PhabricatorMetaMTAReceivedMailProcessingException(
MetaMTAReceivedMailStatus::STATUS_HASH_MISMATCH,
pht(

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 11:59 AM (21 h, 19 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6910307
Default Alt Text
D14455.diff (657 B)

Event Timeline