[#35027] [Ruby 1.9-Bug#4352][Open] [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s) — "James M. Lawrence" <redmine@...>

Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)

16 messages 2011/02/01

[#35114] [Ruby 1.9-Bug#4373][Open] http.rb:677: [BUG] Segmentation fault — Christian Fazzini <redmine@...>

Bug #4373: http.rb:677: [BUG] Segmentation fault

59 messages 2011/02/06

[#35171] [Ruby 1.9-Bug#4386][Open] encoding: directive does not affect regex expressions — mathew murphy <redmine@...>

Bug #4386: encoding: directive does not affect regex expressions

9 messages 2011/02/09

[#35237] [Ruby 1.9-Bug#4400][Open] nested at_exit hooks run in strange order — Suraj Kurapati <redmine@...>

Bug #4400: nested at_exit hooks run in strange order

12 messages 2011/02/15

[ruby-core:35206] Re: Patch to Net::InternetMessageIO

From: mathew <meta@...>
Date: 2011-02-11 22:44:35 UTC
List: ruby-core #35206
On Fri, Feb 11, 2011 at 09:13, Daniel Cormier <daniel.cormier@gmail.com> wrote:
>   This patch addresses an issue when sending a message with Net::SMTP
> where the last line starts with a period and does not end with \n or
> \r\n.
[...]
>  Now properly sends the last line of an email when it begins with a
> period and does not end with \n or \r\n.

When ESMTP is active, the text can be sent using BDAT, and there's no
escaping of . required.

So I think a better patch would be to improve the data() method in
net/smtp, and make it use BDAT if in ESMTP mode--and if not, do the
escaping there.


mathew
-- 
<URL:http://www.pobox.com/~meta/>

In This Thread