Skip Menu |

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

Report information
The Basics
Id: 13424
Status: resolved
Priority: 0/
Queue: Net-IMAP-Simple

People
Owner: CFABER [...] cpan.org
Requestors: nate [...] cs.wisc.edu
Cc:
AdminCc:

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



Subject: Lines in a message starting with * are ignored
The ignore regexp in the process command (presumably designed to ignore response lines) will drop any lines of the message that start with '*' $self->_process_cmd( cmd => [FETCH => qq[$number rfc822]], final => sub { pop @lines; \@lines }, process => sub { push @lines, $_[0] unless $_[0] =~ /^\*/ }, ); This is a serious problem. It should instead be counting the octets and comparing them with the number provided in the first line of the fetch response.
From: CFABER
Hi, Thanks for pointing this out. I've just committed a fix for this problem to CPAN. [guest - Sun Jun 26 11:04:47 2005]: Show quoted text
> The ignore regexp in the process command (presumably designed to > ignore response lines) will drop any lines of the message that start > with '*' > > $self->_process_cmd( > cmd => [FETCH => qq[$number rfc822]], > final => sub { pop @lines; \@lines }, > process => sub { push @lines, $_[0] unless $_[0] =~ /^\*/ }, > ); > > This is a serious problem. It should instead be counting the octets > and comparing them with the number provided in the first line of the > fetch response.