Skip Menu |
 

This queue is for tickets about the Text-Autoformat CPAN distribution.

Report information
The Basics
Id: 4684
Status: new
Priority: 0/
Queue: Text-Autoformat

People
Owner: Nobody in particular
Requestors: chris [...] dyndns.org
Cc:
AdminCc:

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



Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.405 (Entity 5.404)
Subject: CC: email header confused with roman numeral
X-RT-Original-Encoding: iso-8859-1
Content-Length: 1199
Download (untitled) / with headers
text/plain 1.1k
Text::Autoformat confuses the email header CC: with a roman numeral. For example: ctriv@arwen:~/tmp$ cat <<END | perl -MText::Autoformat -we'autoformat{all => 1, renumber => 0}' Show quoted text
> To: someone@somewhere.net > Cc: webmaster@dyndns.org > From: chris@dyndns.org > > Foo bar baz > END
To: someone@somewhere.net Cc: webmaster@dyndns.org From: chris@dyndns.org Foo bar baz As you can see the From: header is merged into the same paragraph as the CC: header. The CC: header is parsed as: $VAR1 = { 'quotespace' => '', 'presig' => '', 'hangspace' => ' ', 'separator' => '', 'text' => 'webmaster@dyndns.org', 'empty' => 0, 'prespace' => '', 'raw' => 'Cc: webmaster@dyndns.org', 'quoter' => '', 'hang' => bless( [ { 'cut' => 0, 'nval' => 200, 'pre' => '', 'post' => ':', 'val' => 'Cc', 'type' => 'rom' } ], 'Hang' ) };
Return-Path: <damian [...] conway.org>
Delivered-To: cpan-bug+text-autoformat [...] pallas.eruditorum.org
Received: from c000.snv.cp.net (h000.c000.snv.cp.net [209.228.32.64]) by pallas.eruditorum.org (Postfix) with SMTP id 3C58911177 for <bug-Text-Autoformat [...] rt.cpan.org>; Mon, 15 Dec 2003 23:36:45 -0500 (EST)
Received: (cpmta 26381 invoked from network); 15 Dec 2003 20:36:43 -0800
Received: from 210.10.237.19 (HELO conway.org) by smtp.conway.org (209.228.32.64) with SMTP; 15 Dec 2003 20:36:43 -0800
X-Sent: 16 Dec 2003 04:36:43 GMT
Message-Id: <3FDE8BD8.3080502 [...] conway.org>
Date: Tue, 16 Dec 2003 15:36:40 +1100
From: Damian Conway <damian [...] conway.org>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en, en-us
MIME-Version: 1.0
To: bug-Text-Autoformat [...] rt.cpan.org
CC: AdminCc [...] fsck.com, of [...] fsck.com, cpan [...] fsck.com, Ticket [...] fsck.com, #4684: , ;
Subject: Re: [cpan #4684] CC: email header confused with roman numeral
References: <rt-4684-13877.3.43755387523913 [...] cpan.org>
In-Reply-To: <rt-4684-13877.3.43755387523913 [...] cpan.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
RT-Send-Cc:
X-RT-Original-Encoding: us-ascii
Content-Length: 143
Download (untitled) / with headers
text/plain 143b
Noted and fixed for the next release. The original poster is welcome to email me privately if they need a pre-release patch. Thanks Damian


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.