mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 19:03:45 +08:00
FIX: encoding issues with forwarded emails
This commit is contained in:
parent
ec28789b99
commit
2125a630d9
|
@ -377,7 +377,7 @@ module Email
|
|||
embedded = Mail.new(@embedded_email_raw)
|
||||
email, display_name = parse_from_field(embedded)
|
||||
embedded_user = find_or_create_user(email, display_name)
|
||||
raw = embedded.decoded
|
||||
raw = try_to_encode(embedded.decoded, "UTF-8").presence || embedded.to_s
|
||||
title = embedded.subject.presence || subject
|
||||
|
||||
case destination[:type]
|
||||
|
|
Loading…
Reference in New Issue
Block a user