in reply to Re^3: Again on SOAP::Lite, MIME::Entity and SOAP::Packager
in thread Again on SOAP::Lite, MIME::Entity and SOAP::Packager
diff --git a/usr/local/share/perl5/MIME/Entity.pm b/usr/local/share/perl5/MIME/Entity.pm index 3006853..ddfeb6c 100644 --- a/usr/local/share/perl5/MIME/Entity.pm +++ b/usr/local/share/perl5/MIME/Entity.pm @@ -1828,9 +1828,9 @@ sub print_body { ### Parts: my $part; foreach $part ($self->parts) { - $out->print("--$boundary\n"); + $out->print("--$boundary\r\n"); $part->print($out); - $out->print("\n"); ### needed for next delim/clo +se + $out->print("\r\n"); ### needed for next delim/c +lose } $out->print("--$boundary--\n");
I confirm the "bug" is in the print_body sub of MIME::Entity, in the part where it adds boundaries string to the body. I'm sure with the proposed patch will work with apache axis but peraphs will broke compatibility with other systems. What to do in those cases? Should I open a bug request somewhere?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Again on SOAP::Lite, MIME::Entity and SOAP::Packager
by Corion (Patriarch) on Dec 29, 2016 at 09:48 UTC | |
by ray.rick.mini (Sexton) on Dec 29, 2016 at 10:50 UTC |