You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/02/15 19:02:07 UTC
[whimsy] branch master updated: Some mails are causing parsing
errors in procmail.log
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 12b24e6 Some mails are causing parsing errors in procmail.log
12b24e6 is described below
commit 12b24e61a9511db0cbcb0de1dd1e3e06019c0cc6
Author: Sebb <se...@apache.org>
AuthorDate: Fri Feb 15 19:02:05 2019 +0000
Some mails are causing parsing errors in procmail.log
'invalid byte sequence in US-ASCII (ArgumentError)'
---
tools/svnupdate.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/svnupdate.rb b/tools/svnupdate.rb
index aaa30b4..d50a41d 100644
--- a/tools/svnupdate.rb
+++ b/tools/svnupdate.rb
@@ -7,7 +7,8 @@ require 'mail'
File.umask(0002)
-mail = Mail.new(STDIN.read.encode(crlf_newline: true))
+STDIN.binmode
+mail = Mail.new(STDIN.read)
LOG = '/srv/whimsy/www/logs/svn-update'