Skip Menu |
 

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

Report information
The Basics
Id: 49406
Status: resolved
Priority: 0/
Queue: RPC-XML

People
Owner: rjray [...] blackperl.com
Requestors: frequency [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.59
Fixed in: 0.70



Subject: Add support for empty base64 data
Download (untitled) / with headers
text/plain 649b
Hi there: I'm forwarding this bug on behalf of a Debian user. The original bug text (which follows) can be found here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472181 The RPC::XML package returns an error when encoding or decoding empty strings of type base64. Example code: use strict; use RPC::XML; my $b64 = RPC::XML::base64->new(''); if ($RPC::XML::ERROR) { print "xmlrpc error: ".$RPC::XML::ERROR."\n"; } else { print "encoded as: '".$b64->as_string."'\n"; } Returns with: xmlrpc error: RPC::XML::base64::new: Must be called with non-null data or an open, seekable filehandle Expected: encoded as: '<base64></base64>'
Download (untitled) / with headers
text/plain 361b
I'm sure I had a reason for this restriction when I first wrote the code, but I have no idea what that reason was, now. So I'll happily make the change... -- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Randy J. Ray Silicon Valley Scale Modelers: http://www.svsm.org rjray@blackperl.com randy.j.ray@gmail.com
Download (untitled) / with headers
text/plain 275b
This is done and in the git repository. Will be in the next release. -- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Randy J. Ray Silicon Valley Scale Modelers: http://www.svsm.org rjray@blackperl.com randy.j.ray@gmail.com
Download (untitled) / with headers
text/plain 434b
On Wed Sep 09 14:01:12 2009, RJRAY wrote: Show quoted text
> This is done and in the git repository. Will be in the next release.
Hi Randy: Thanks for acknowledging this bug and fixing it so quickly! I'm marking it as resolved now (I trust that your fix was appropriate, though I have not tested it myself yet). If there are any problems in the future I'll bug you then :) Thanks again for writing and maintaining this software. Cheers, Jonathan
Download (untitled) / with headers
text/plain 229b
Fixed in 0.70 release. -- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Randy J. Ray Silicon Valley Scale Modelers: http://www.svsm.org rjray@blackperl.com randy.j.ray@gmail.com
Download (untitled) / with headers
text/plain 205b
-- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Randy J. Ray Silicon Valley Scale Modelers: http://www.svsm.org rjray@blackperl.com randy.j.ray@gmail.com


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.