ishapi 0.1.8.242 → 0.1.8.243
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/jobs/ishapi/email_message_intake_job.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6417093f3fc2714d491522427252f4368e641e2050c86f42aa218c8d5a4b5b48
|
4
|
+
data.tar.gz: 4121b322550d59f7437a6028ea98ab6d145f77c9fcc275696bdd7f66d9fa52d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ce70cac26d2c0ed1286e85c29668d4a15d62a3c7585c79d4279306a6df5bd3373c6e83fb4260b53af2f4cc623d974b6b35ea919105650a380a42bcf8e1659ba
|
7
|
+
data.tar.gz: 4604a5ee943a7b07aa621b49a048ba35a9e41bd7856eaed0b61ac504623b4484fa99bdc7efe6190a3e5869510587c3ed06735d993aa29dc99964d014d16a1ddb
|
@@ -98,7 +98,7 @@ class Ishapi::EmailMessageIntakeJob < Ishapi::ApplicationJob
|
|
98
98
|
end
|
99
99
|
|
100
100
|
if the_mail.parts.length == 0
|
101
|
-
body = the_mail.body.decoded
|
101
|
+
body = the_mail.body.decoded.encode('UTF-8', invalid: :replace, undef: :replace, replace: '?')
|
102
102
|
if the_mail.content_type.include?('text/html')
|
103
103
|
@message.part_html = body
|
104
104
|
elsif the_mail.content_type.include?('text/plain')
|