diff options
author | mkanat%bugzilla.org <> | 2009-09-04 23:27:54 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-09-04 23:27:54 +0200 |
commit | 283d5785c782e3a79eb371cd6a223d19205bd175 (patch) | |
tree | b5abef5375254595f653adb38ccd8977e77b864c /Bugzilla/WebService/Server | |
parent | 27cc3de61a1ad1a02b859cfe3dd96aa916295426 (diff) | |
download | bugzilla-283d5785c782e3a79eb371cd6a223d19205bd175.tar.gz bugzilla-283d5785c782e3a79eb371cd6a223d19205bd175.tar.xz |
Bug 486306: Truncated XML-RPC response (incorrect content-length header)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/WebService/Server')
-rw-r--r-- | Bugzilla/WebService/Server/XMLRPC.pm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Bugzilla/WebService/Server/XMLRPC.pm b/Bugzilla/WebService/Server/XMLRPC.pm index e85fab95c..c85614f7a 100644 --- a/Bugzilla/WebService/Server/XMLRPC.pm +++ b/Bugzilla/WebService/Server/XMLRPC.pm @@ -149,16 +149,6 @@ sub new { return $self; } -sub as_string { - my $self = shift; - my ($value) = @_; - # Something weird happens with XML::Parser when we have upper-ASCII - # characters encoded as UTF-8, and this fixes it. - utf8::encode($value) if utf8::is_utf8($value) - && $value =~ /^[\x00-\xff]+$/; - return $self->SUPER::as_string($value); -} - # Here the XMLRPC::Serializer is extended to use the XMLRPC nil extension. sub encode_object { my $self = shift; |