Page MenuHomePhabricator

D14455.id.diff
No OneTemporary

D14455.id.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
Mon, May 13, 8:20 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6276551
Default Alt Text
D14455.id.diff (657 B)

Event Timeline