lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 10 Dec 2009 16:05:47 -0600
From:	"Chris Friesen" <cfriesen@...tel.com>
To:	Alan Jenkins <alan-jenkins@...fmail.co.uk>
CC:	jim owens <jowens@...com>, Randy Dunlap <rdunlap@...otime.net>,
	linux-doc@...r.kernel.org,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Dan Carpenter <error27@...il.com>,
	Jes Sorensen <jes.sorensen@...il.com>
Subject: Re: [PATCH] Documentation/email-clients.txt: clarify Thunderbird
 section

On 12/10/2009 10:25 AM, Alan Jenkins wrote:

> The RFC for format=flowed says that it should escape lines which start 
> with a space (by "space stuffing" - prepending an additional space).  So 
> in theory it should completely break patches.   And indeed it does 
> <http://gcc.gnu.org/ml/java-patches/2003-q2/msg00315.html>
> 
> Using HTML preformat in current versions of Thunderbird appears to send 
> with a format=flowed content-type, and then violates the RFC by not 
> performing any space-stuffing.
> 
> So if I look at format=flowed patch in my Sent email folder, I see that 
> the message viewer correctly strips the first leading space in each 
> line.  I.e. it breaks if you use copy+paste to get the patch out of 
> Thunderbird (or any other format=flowed aware client).  File->Save As 
> preserves the spaces though, allowing the patch to be applied.

Hmm...I'm using Thunderbird 3 beta4, and it appears that when sending
via the "preformat" mechanism it actually does perform space-stuffing.
This is visible as an extra leading space when looking at the raw source
of the sent (or received) email via ctrl-U.

However, if one turns off format=flowed, but leaves wrap set to 72, then
the html preformat works without having to set the wrap to 0.

Thanks,

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ