Ticket #9044: http.separator.fix.patch
| File http.separator.fix.patch, 740 bytes (added by Simek, 4 years ago) |
|---|
-
http.php
282 282 } else { 283 283 if ( is_array( $r['body'] ) || is_object( $r['body'] ) ) { 284 284 if ( ! version_compare(phpversion(), '5.1.2', '>=') ) 285 $r['body'] = _http_build_query($r['body'], null, '& ');285 $r['body'] = _http_build_query($r['body'], null, '&'); 286 286 else 287 $r['body'] = http_build_query($r['body'], null, '& ');287 $r['body'] = http_build_query($r['body'], null, '&'); 288 288 $r['headers']['Content-Type'] = 'application/x-www-form-urlencoded; charset=' . get_option('blog_charset'); 289 289 $r['headers']['Content-Length'] = strlen($r['body']); 290 290 }
