Page MenuHomePhabricator

D14256.id34422.diff
No OneTemporary

D14256.id34422.diff

diff --git a/src/applications/metamta/controller/PhabricatorMetaMTAMailgunReceiveController.php b/src/applications/metamta/controller/PhabricatorMetaMTAMailgunReceiveController.php
--- a/src/applications/metamta/controller/PhabricatorMetaMTAMailgunReceiveController.php
+++ b/src/applications/metamta/controller/PhabricatorMetaMTAMailgunReceiveController.php
@@ -18,7 +18,7 @@
return phutil_hashes_are_identical($sig, $hash);
}
- public function processRequest() {
+ public function handleRequest(AphrontRequest $request) {
// No CSRF for Mailgun.
$unguarded = AphrontWriteGuard::beginScopedUnguardedWrites();
@@ -28,7 +28,6 @@
pht('Mail signature is not valid. Check your Mailgun API key.'));
}
- $request = $this->getRequest();
$user = $request->getUser();
$raw_headers = $request->getStr('headers');
diff --git a/src/applications/metamta/controller/PhabricatorMetaMTASendGridReceiveController.php b/src/applications/metamta/controller/PhabricatorMetaMTASendGridReceiveController.php
--- a/src/applications/metamta/controller/PhabricatorMetaMTASendGridReceiveController.php
+++ b/src/applications/metamta/controller/PhabricatorMetaMTASendGridReceiveController.php
@@ -7,12 +7,10 @@
return false;
}
- public function processRequest() {
+ public function handleRequest(AphrontRequest $request) {
// No CSRF for SendGrid.
$unguarded = AphrontWriteGuard::beginScopedUnguardedWrites();
-
- $request = $this->getRequest();
$user = $request->getUser();
$raw_headers = $request->getStr('headers');

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 8:43 AM (11 h, 5 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6927585
Default Alt Text
D14256.id34422.diff (1 KB)

Event Timeline