whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: guard against encoding errors
Date Sun, 16 Apr 2017 01:26:49 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys 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  99abcf6   guard against encoding errors
99abcf6 is described below

commit 99abcf617b4442b8698c09ed9d059ecb6d57aded
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sat Apr 15 21:26:36 2017 -0400

    guard against encoding errors
---
 tools/deliver.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/deliver.rb b/tools/deliver.rb
index be418b0..2ff4f37 100644
--- a/tools/deliver.rb
+++ b/tools/deliver.rb
@@ -8,7 +8,7 @@ require 'fileutils'
 
 MAIL_ROOT = '/srv/mail'
 
-mail = STDIN.read
+mail = STDIN.read.force_encoding('binary')
 
 # extract info
 dest = mail[/List-Id: <(.*)>/, 1] || mail[/Delivered-To.* (\S+)\s*$/, 1]

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message