Skip Menu |

This queue is for tickets about the Mail-IMAPClient CPAN distribution.

Report information
The Basics
Id: 4139
Status: resolved
Worked: 1 min
Priority: 0/
Queue: Mail-IMAPClient

People
Owner: DJKERNEN__NO_SOLICITING__ [...] cpan.org
Requestors: peter.heimann [...] montrada.de
Cc:
AdminCc:

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



Date: Fri, 17 Oct 2003 13:01:10 +0200
From: Peter Heimann <peter.heimann [...] montrada.de>
To: bug-Mail-IMAPClient [...] rt.cpan.org
Subject: test.txt parsing in basic.t
Encountered in Mail::IMAPClient 2.2.8 and 2.2.9: Test login fails if the password in "test.txt" contains a "=". Fix: add a limit value to the split() call in t/basic.t: *** t/basic.t.orig Thu Jun 12 23:38:35 2003 --- t/basic.t Thu Oct 16 12:45:45 2003 *************** *** 553,559 **** if (open TST,"./test.txt" ) { while (defined(my $l = <TST>)) { chomp $l; ! my($p,$v)=split(/=/,$l); for($p,$v) { s/(?:^\s+)|(?:\s+$)//g; } $parms{$p}=$v if $v; } --- 553,559 ---- if (open TST,"./test.txt" ) { while (defined(my $l = <TST>)) { chomp $l; ! my($p,$v)=split(/=/,$l,2); for($p,$v) { s/(?:^\s+)|(?:\s+$)//g; } $parms{$p}=$v if $v; } -- Regards Peter Heimann, montrada GmbH
Thanks for the fix! It's in the next release. -- Dave K.
new maintainer, yes, it is in the next release (2.99_02) Found the problem myself as well. -- MarkOv