Skip Menu |

This queue is for tickets about the Net-RMI CPAN distribution.

Report information
The Basics
Id: 686
Status: new
Priority: 0/
Queue: Net-RMI

People
Owner: Nobody in particular
Requestors: drorbr [...] d.co.il
Cc:
AdminCc:

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



Subject: Net-RMI does not handle CR/LF
I am using Net::RMI version 0.02, under Linux 2.2.19 and SunOS 5.7 with perl 5.6.0 and 5.6.1. I found out that the module does not handle CR\LF when serializing strings.
74a75 > $data =~ s/\n/\\n/; 80c81,82 < my $length = length($$data); --- > $$data =~ s/\n/\\n/; > my $length = length($$data); 131c133 < while (($found < $limit) && ($data =~ /^([SAH])\[(\d+)\](.+$)/)) { --- > while (($found < $limit) && ($data =~ /^([SAH])\[(\d+)\](((.+)(\n*))*)/)) { 138a141 > $value =~ s/\\n/\n/;