You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/04/16 01:26:49 UTC

[whimsy] branch master updated: guard against encoding errors

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 <ru...@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" <co...@whimsical.apache.org>'].