View | Details | Raw Unified | Return to bug 94579
Collapse All | Expand All

(-)RPC.php.orig (-4 / +4 lines)
Lines 237-243 Link Here
237
        break;
237
        break;
238
238
239
    case 'NAME':
239
    case 'NAME':
240
        $XML_RPC_xh[$parser]['st'] .= "'";
240
        $XML_RPC_xh[$parser]['st'] .= '"';
241
        $XML_RPC_xh[$parser]['ac'] = '';
241
        $XML_RPC_xh[$parser]['ac'] = '';
242
        break;
242
        break;
243
243
Lines 320-326 Link Here
320
        break;
320
        break;
321
321
322
    case 'NAME':
322
    case 'NAME':
323
        $XML_RPC_xh[$parser]['st'] .= $XML_RPC_xh[$parser]['ac'] . "' => ";
323
        $XML_RPC_xh[$parser]['st'] .= $XML_RPC_xh[$parser]['ac'] . '" => ';
324
        break;
324
        break;
325
325
326
    case 'BOOLEAN':
326
    case 'BOOLEAN':
Lines 345-352 Link Here
345
            // we use double quotes rather than single so backslashification works OK
345
            // we use double quotes rather than single so backslashification works OK
346
            $XML_RPC_xh[$parser]['st'] .= '"' . $XML_RPC_xh[$parser]['ac'] . '"';
346
            $XML_RPC_xh[$parser]['st'] .= '"' . $XML_RPC_xh[$parser]['ac'] . '"';
347
        } elseif ($XML_RPC_xh[$parser]['qt'] == 2) {
347
        } elseif ($XML_RPC_xh[$parser]['qt'] == 2) {
348
            $XML_RPC_xh[$parser]['st'] .= "base64_decode('"
348
            $XML_RPC_xh[$parser]['st'] .= 'base64_decode("'
349
                                        . $XML_RPC_xh[$parser]['ac'] . "')";
349
                                        . $XML_RPC_xh[$parser]['ac'] . '")';
350
        } elseif ($name == 'BOOLEAN') {
350
        } elseif ($name == 'BOOLEAN') {
351
            $XML_RPC_xh[$parser]['st'] .= $XML_RPC_xh[$parser]['ac'];
351
            $XML_RPC_xh[$parser]['st'] .= $XML_RPC_xh[$parser]['ac'];
352
        } else {
352
        } else {

Return to bug 94579