mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 04:01:47 +00:00
Adds parameters to http_build_query
Fixes the issue of sending & to servers. More information is at http://php.net/manual/en/function.http-build-query.php#102324
This commit is contained in:
+1
-1
@@ -109,7 +109,7 @@ class Curl
|
||||
$data = $json_str;
|
||||
}
|
||||
} else {
|
||||
$data = http_build_query($data);
|
||||
$data = http_build_query($data, '', '&');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user