1 this patch fixes problem transferring non-ASCII data over xmlrpc.
2 the 8bit chars could be anywhere, issue summary, details, reporter, so all fields are base64_encoded
4 --- ./misc/cli/include/class.command_line.php~ 2005-03-05 13:13:13.000000000 +0200
5 +++ ./misc/cli/include/class.command_line.php 2005-03-07 20:46:16.398657838 +0200
7 Command_Line::quit($result->faultString());
9 $details = XML_RPC_decode($result->value());
11 + foreach ($details as $k => $v) {
12 + $details[$k] = base64_decode($v);
15 // check if the issue the user is trying to change is inside a project viewable to him
17 for ($i = 0; $i < count($projects); $i++) {
24 Command_Line::quit("The assigned project for issue #$issue_id doesn't match any in the list of projects assigned to you");
26 --- ./rpc/xmlrpc.php~ 2005-02-27 17:59:14.000000000 +0200
27 +++ ./rpc/xmlrpc.php 2005-03-07 20:48:19.000000000 +0200
29 createFakeCookie($email, Issue::getProjectID($issue_id));
31 $res = Issue::getDetails($issue_id);
32 + foreach ($res as $k => $v) {
33 + $res[$k] = base64_encode($v);
37 return new XML_RPC_Response(0, $XML_RPC_erruser+1, "Issue #$issue_id could not be found");