[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#734470: libdebbugs-perl: SOAP::Transport::HTTP::Server returns Content-Type Multipart/Related



reassign 734470 libsoap-lite-perl
tag 734470 patch
thanks

On Tue, 07 Jan 2014, Michael Albinus wrote:
> I'm reporting this to the debbugs installation on
> debbugs.gnu.org. Don't know the version, but
> /usr/share/perl5/SOAP/Transport/HTTP.pm reports $VERSION = 0.714;

Thanks for your report; I've reassigned this to libsoap-lite-perl, which
is the Debian package which causes this problem (and contains
SOAP::Transport::HTTP).



> The following patch fixes this for me:
> 
> *** /usr/share/perl5/SOAP/Transport/HTTP.pm.~1~	  2014-01-07 14:00:57.610495170 +0100
> --- /usr/share/perl5/SOAP/Transport/HTTP.pm	  2014-01-07 14:00:57.622495449 +0100
> ***************
> *** 472,478 ****
>   # this next line does not look like a good test to see if something is multipart
>   # perhaps a /content-type:.*multipart\//gi is a better regex?
>       my ($is_multipart) =
> !       ( $response =~ /content-type:.* boundary="([^\"]*)"/im );
> 
>       $self->response(
>           HTTP::Response->new(
> --- 472,478 ----
>   # this next line does not look like a good test to see if something is multipart
>   # perhaps a /content-type:.*multipart\//gi is a better regex?
>       my ($is_multipart) =
> !       ( $response =~ /^content-type:.* boundary="([^\"]*)"/im );
> 
>       $self->response(
>           HTTP::Response->new(

-- 
Don Armstrong                      http://www.donarmstrong.com

Rule 6: "If violence wasn't your last resort, you failed to resort to
enough of it."
  -- Howard Tayler _Schlock Mercenary_  March 13th, 2005
     http://www.schlockmercenary.com/d/20050313.html


Reply to: