Page MenuHomePhabricator

D14455.id34949.diff
No OneTemporary

D14455.id34949.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
Sat, May 11, 3:16 PM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6276551
Default Alt Text
D14455.id34949.diff (657 B)

Event Timeline