From 257fd97f4c9dcfaf7830124e457d1e968bd2d512 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 14 Aug 2008 22:54:43 +0000 Subject: [PATCH] Always use '&' as arg separator when building the body. fixes #7522 git-svn-id: https://develop.svn.wordpress.org/trunk@8648 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/http.php b/wp-includes/http.php index 86e3e9024d..ad67682346 100644 --- a/wp-includes/http.php +++ b/wp-includes/http.php @@ -214,7 +214,7 @@ class WP_Http { $transports = WP_Http::_getTransport(); } else { if ( is_array( $r['body'] ) || is_object( $r['body'] ) ) { - $r['body'] = http_build_query($r['body']); + $r['body'] = http_build_query($r['body'], null, '&'); $r['headers']['Content-Type'] = 'application/x-www-form-urlencoded; charset=' . get_option('blog_charset'); $r['headers']['Content-Length'] = strlen($r['body']); }