Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-MIME-Encodings CPAN distribution.

Report information
The Basics
Id: 7768
Status: resolved
Priority: 0/
Queue: Email-MIME-Encodings

People
Owner: Nobody in particular
Requestors: tdahlheim [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.1
Fixed in: 1.1



Subject: Minor test suite bug
Test no. 8 (encoding quoted-printable) fails with newer versions of MIME::QuotedPrint (v3.01 from MIME-Base64-3.02 or higher) because encode_gp puts a soft line break at the end of the encoded string. The test should be changed to something like this: --- test.pl.orig 2004-09-25 01:00:02.000000000 +0200 +++ test.pl 2004-09-25 01:33:26.000000000 +0200 @@ -8,7 +8,8 @@ } $y= "This is a test\nof various MIME=3Dstuff."; -is(Email::MIME::Encodings::encode(quotedprint => $x), $y, "enc qp"); +like(Email::MIME::Encodings::encode(quotedprint => $x), + qr/$y(=\n)?/, "enc qp"); is(Email::MIME::Encodings::decode(quotedprint => $y), $x, "dec qp"); $z="VGhpcyBpcyBhIHRlc3QKb2YgdmFyaW91cyBNSU1FPXN0dWZmLg==\n";
On Sat Sep 25 07:00:26 2004, guest wrote: Show quoted text
> Test no. 8 (encoding quoted-printable) fails with newer versions of > MIME::QuotedPrint (v3.01 from MIME-Base64-3.02 or higher) because > encode_gp puts a soft line break at the end of the encoded string. > The test should be changed to something like this:
This problem has been fixed in a released version. This bug should be closed.
From: Placebo
On Thu Jul 06 23:56:29 2006, RJBS wrote: Show quoted text
> On Sat Sep 25 07:00:26 2004, guest wrote:
> > Test no. 8 (encoding quoted-printable) fails with newer versions of > > MIME::QuotedPrint (v3.01 from MIME-Base64-3.02 or higher) because > > encode_gp puts a soft line break at the end of the encoded string. > > The test should be changed to something like this:
> > This problem has been fixed in a released version. This bug should be > closed.
Still seems to be a problem in 1.3: ---------------- ok 7 - dec 8bit not ok 8 - enc qp # Failed test 'enc qp' # in test.pl at line 11. # got: 'This is a test # of various MIME=3Dstuff.' # expected: 'This is a test # of various MIME=3Dstuff.= # ' -----------------
From: rjbs [...] cpan.org
Show quoted text
> Still seems to be a problem in 1.3:
Could you please provide: 1. the version of MIME::QuotedPrint you're using 2. the version of perl you're using 3. the output of: a. perl Makefile.PL b. make test That will help a lot, I hope. Thanks. -- rjbs
I still can't reproduce this. Closed until evidence is presented. -- rjbs