作者 邓超

x

@@ -381,7 +381,7 @@ class Body { @@ -381,7 +381,7 @@ class Body {
381 } 381 }
382 382
383 private function decode($code,$body){ 383 private function decode($code,$body){
384 - switch($code){ 384 + switch(trim($code)){
385 case 'base64': { 385 case 'base64': {
386 $body = base64_decode($body); 386 $body = base64_decode($body);
387 break; 387 break;