Page MenuHomePhabricator

D7575.diff
No OneTemporary

D7575.diff

Index: src/applications/metamta/management/PhabricatorMailManagementShowInboundWorkflow.php
===================================================================
--- src/applications/metamta/management/PhabricatorMailManagementShowInboundWorkflow.php
+++ 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);
}
Index: src/applications/metamta/receiver/PhabricatorObjectMailReceiver.php
===================================================================
--- src/applications/metamta/receiver/PhabricatorObjectMailReceiver.php
+++ 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/plain
Expires
Mon, Nov 18, 2:44 PM (1 d, 21 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6717845
Default Alt Text
D7575.diff (1 KB)

Event Timeline