Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14423231
D14256.id34422.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D14256.id34422.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D14256: Update metamta for handleRequest
Attached
Detach File
Event Timeline
Log In to Comment