Page MenuHomePhabricator

D14256.diff
No OneTemporary

D14256.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
Wed, Dec 25, 8:30 PM (11 h, 9 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6927585
Default Alt Text
D14256.diff (1 KB)

Event Timeline