From: Don Armstrong Date: Fri, 15 Jun 2007 22:24:37 +0000 (+0100) Subject: - Fix soapy insanity (closes: #422062) X-Git-Tag: release/2.6.0~550^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2ce5407f0c170772e24eba56b97e96b74764d86e;p=debbugs.git - Fix soapy insanity (closes: #422062) --- diff --git a/cgi/soap.cgi b/cgi/soap.cgi index 6599109..04d7265 100755 --- a/cgi/soap.cgi +++ b/cgi/soap.cgi @@ -7,7 +7,10 @@ use SOAP::Transport::HTTP; use Debbugs::SOAP::Usertag; use Debbugs::SOAP::Status; -SOAP::Transport::HTTP::CGI - -> dispatch_to('Debbugs::SOAP::Usertag', 'Debbugs::SOAP::Status') - -> handle; +my $soap = SOAP::Transport::HTTP::CGI + -> dispatch_to('Debbugs::SOAP::Usertag', 'Debbugs::SOAP::Status'); +$soap->serializer()->soapversion(1.2); +# soapy is stupid, and is using the 1999 schema; override it. +*SOAP::XMLSchema1999::Serializer::as_base64Binary = \&SOAP::XMLSchema2001::Serializer::as_base64Binary; +$soap-> handle; diff --git a/debian/changelog b/debian/changelog index bf922b8..6b66182 100644 --- a/debian/changelog +++ b/debian/changelog @@ -190,6 +190,7 @@ debbugs (2.4.2) UNRELEASED; urgency=low fixed version (closes: #365352) - Allow ordering bugs by last action (closes: #318898) - Add notfixed/notfound commands (closes: #389634) + - Fix soapy insanity (closes: #422062) -- Colin Watson Fri, 20 Jun 2003 18:57:25 +0100