u-ichi / fluent-plugin-mail

Fluentd output plugin to send mail
https://rubygems.org/gems/fluent-plugin-mail
Other
48 stars 20 forks source link

string-scrub #18

Closed sonots closed 9 years ago

sonots commented 9 years ago

I got an error like

ArgumentError invalid byte sequence in UTF-8 out_mail.rb:142:in `gsub'

This patch avoids the above error by replacing the invalid byte string to ?. This is doing almost same thing with fluent-plugin-grep https://github.com/sonots/fluent-plugin-grep.

sonots commented 9 years ago

Let me merge

sonots commented 9 years ago

Oops, https://github.com/u-ichi/fluent-plugin-mail/commit/07744733bc4fd37226141596335e54487c1a66aa

sonots commented 9 years ago

released v0.1.1