![Picture of John Erck Picture of John Erck](/graphics/unknown.gif)
John Erck - 2013-07-12 15:32:48
Hi Manuel,
Really awesome package. Thank you.
I found a bug in the prepackaged Bitbucket settings.
Bug on line 1671 in oauth_client.php, v1.66
Line 1671: $this->url_parameters = true; // should be false
<?php
// To reproduce bug:
$client->server = 'Bitbucket'; // This setting triggers bug
$client->callAPI(
'https://api.bitbucket.org/1.0/repositories',
'POST',
array('name' => 'new_repo_via_api'),
array(
'FailOnAccessError' => true,
'PostValuesInURI' => false, // This did not override $client->url_parameters
),
$new_repo_response // $new_repo_response var setter
);
?>