Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
283d5785
Commit
283d5785
authored
Sep 04, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 486306: Truncated XML-RPC response (incorrect content-length header)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
parent
27cc3de6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
13 deletions
+3
-13
Requirements.pm
Bugzilla/Install/Requirements.pm
+3
-3
XMLRPC.pm
Bugzilla/WebService/Server/XMLRPC.pm
+0
-10
No files found.
Bugzilla/Install/Requirements.pm
View file @
283d5785
...
...
@@ -219,9 +219,9 @@ sub OPTIONAL_MODULES {
{
package
=>
'SOAP-Lite'
,
module
=>
'SOAP::Lite'
,
version
=>
0
,
#
These versions (0.70 -> 0.710.05) are affected by bug 468009
blacklist
=>
[
'^0\.70'
,
'^0\.710?\.0[1-5]$'
]
,
# 0.710.04 is required for correct UTF-8 handling, but .04 and .05 are
#
affected by bug 468009.
version
=>
'0.710.06'
,
feature
=>
[
'xmlrpc'
],
},
{
...
...
Bugzilla/WebService/Server/XMLRPC.pm
View file @
283d5785
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment