Skip Menu |

This queue is for tickets about the RPC-XML CPAN distribution.

Report information
The Basics
Id: 76293
Status: new
Priority: 0/
Queue: RPC-XML

Owner: Nobody in particular
Requestors: genezhang [...]

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)

Subject: Content-Length from Apache::RPC::Server is insufficient when given UTF-8 data
Download (untitled) / with headers
text/plain 473b
I'm using Apache::RPC::Server (version 1.27) and this line does not seem to behave properly: $r->set_content_length(length $content); This will, given an Unicode character string, set Content-Length to be the number of characters instead of the number of bytes/octets. For my use, I've replaced length with bytes::length and it seems like a safe and easy fix. Distribution name and version Apache::RPC::Server-1.27 Perl version 5.8.4 Operating System: Solaris 5.10

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to