Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15340726
D20114.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
656 B
Referenced Files
None
Subscribers
None
D20114.diff
View Options
diff --git a/src/applications/feed/worker/FeedPublisherHTTPWorker.php b/src/applications/feed/worker/FeedPublisherHTTPWorker.php
--- a/src/applications/feed/worker/FeedPublisherHTTPWorker.php
+++ b/src/applications/feed/worker/FeedPublisherHTTPWorker.php
@@ -26,6 +26,11 @@
'epoch' => $data->getEpoch(),
);
+ // NOTE: We're explicitly using "http_build_query()" here because the
+ // "storyData" parameter may be a nested object with arbitrary nested
+ // sub-objects.
+ $post_data = http_build_query($post_data, '', '&');
+
id(new HTTPSFuture($uri, $post_data))
->setMethod('POST')
->setTimeout(30)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 10, 4:24 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7457343
Default Alt Text
D20114.diff (656 B)
Attached To
Mode
D20114: Revert "feed.http-hooks" HTTP request construction to use "http_build_query()" so nested "storyData" is handled correctly
Attached
Detach File
Event Timeline
Log In to Comment