Active
Project:
Stackla Sandbox API
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2014 at 00:21 UTC
Updated:
10 Nov 2014 at 00:21 UTC
The output of http_build_query is dependant on the php config value arg_separator.output unless the arg separator is specified in the function call.
So
$query = http_build_query($data);
should be
$query = http_build_query($data,'','&');
This bit me when deploying my app to Pantheon. Their php is set up with arg_separator.output = '&'. This broke my stackla service requests.