Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15480701
D9963.id23910.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
D9963.id23910.diff
View Options
diff --git a/src/applications/feed/PhabricatorFeedStoryPublisher.php b/src/applications/feed/PhabricatorFeedStoryPublisher.php
--- a/src/applications/feed/PhabricatorFeedStoryPublisher.php
+++ b/src/applications/feed/PhabricatorFeedStoryPublisher.php
@@ -176,7 +176,7 @@
$data = array(
'key' => (string)$chrono_key,
'type' => 'notification',
- 'subscribers' => $this->subscribedPHIDs,
+ 'subscribers' => array_values($this->subscribedPHIDs),
);
PhabricatorNotificationClient::tryToPostMessage($data);
diff --git a/support/aphlict/server/aphlict_server.js b/support/aphlict/server/aphlict_server.js
--- a/support/aphlict/server/aphlict_server.js
+++ b/support/aphlict/server/aphlict_server.js
@@ -180,6 +180,10 @@
response.writeHead(200, {'Content-Type': 'text/plain'});
} catch (err) {
+ debug.log(
+ '<%s> Bad Request! %s',
+ request.socket.remoteAddress,
+ err);
response.statusCode = 400;
response.write('400 Bad Request');
} finally {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 9, 3:48 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7722783
Default Alt Text
D9963.id23910.diff (1 KB)
Attached To
Mode
D9963: Fix HTTP 400 from notification server for JSON subscription objects
Attached
Detach File
Event Timeline
Log In to Comment