Skip Menu |

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

Report information
The Basics
Id: 1287
Status: new
Priority: 0/
Queue: Frontier-RPC

People
Owner: Nobody in particular
Requestors: ivan-cpan-rt [...] 420.am
Cc:
AdminCc:

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



Subject: [patch] explicitly-specified String type does not encode < or & as per specification
--- libfrontier-rpc-perl-0.06-3/lib/Frontier/RPC2.pm Sat Nov 20 16:13:21 1999 +++ libfrontier-rpc-perl-0.06/lib/Frontier/RPC2.pm Mon Jul 15 21:19:59 2002 @@ -515,6 +515,13 @@ use vars qw{@ISA}; @ISA = qw{Frontier::RPC2::DataType}; +sub repr { + my $self = shift; + my $value = $$self; + $value =~ s/([&<>\"])/$Frontier::RPC2::char_entities{$1}/ge; + $value; +} + package Frontier::RPC2::Double; use vars qw{@ISA};