Page MenuHomePhabricator

D7575.diff

diff --git a/src/applications/metamta/management/PhabricatorMailManagementShowInboundWorkflow.php b/src/applications/metamta/management/PhabricatorMailManagementShowInboundWorkflow.php
--- a/src/applications/metamta/management/PhabricatorMailManagementShowInboundWorkflow.php
+++ b/src/applications/metamta/management/PhabricatorMailManagementShowInboundWorkflow.php
@@ -63,6 +63,9 @@
$info[] = null;
$info[] = pht('HEADERS');
foreach ($message->getHeaders() as $key => $value) {
+ if (is_array($value)) {
+ $value = implode("\n", $value);
+ }
$info[] = pht('%s: %s', $key, $value);
}
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
@@ -156,7 +156,7 @@
'(?P<sender>\w+)'.
'\\+'.
'(?P<hash>[a-f0-9]{16})'.
- '$)U';
+ '$)Ui';
return $regexp;
}
@@ -166,7 +166,9 @@
PhabricatorUser $sender) {
$parts = $this->matchObjectAddressInMail($mail);
- return $this->loadObject($parts['pattern'], $sender);
+ return $this->loadObject(
+ phutil_utf8_strtoupper($parts['pattern']),
+ $sender);
}
public static function computeMailHash($mail_key, $phid) {

File Metadata

Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/dw/g2/un6altp6eom2vrnp
Default Alt Text
D7575.diff (1 KB)

Event Timeline