From 80d9d70bb0340551f1a268bf60ecf3a46a5f7d92 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 10 Jan 2006 04:38:57 +0000 Subject: [PATCH] =?utf8?q?Bug=20322712:=20Cannot=20export=20local=20attach?= =?utf8?q?ments=20(attachments=20are=20truncated)=20-=20Patch=20by=20Fr?= =?utf8?q?=C3=A9d=C3=A9ric=20Buclin=20=20r/a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla/Attachment.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 76067bbbc0..8b02039243 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -304,6 +304,7 @@ sub data { # in a local file, so retrieve it from there. if (length($self->{data}) == 0) { if (open(AH, $self->_get_local_filename())) { + local $/; binmode AH; $self->{data} = ; close(AH); -- 2.47.2