[geary/mainline: 1/2] rfc822: fix mangled text when quoting non-latin names
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mainline: 1/2] rfc822: fix mangled text when quoting non-latin names
- Date: Thu, 4 Apr 2019 06:33:08 +0000 (UTC)
commit 19716708082427af35487ce76e041318ab1f42fe
Author: Konstantin Kharlamov <Hi-Angel yandex ru>
Date: Thu Apr 4 01:54:05 2019 +0300
rfc822: fix mangled text when quoting non-latin names
Before the change quoted part looks like:
"=?UTF-8?b?0JDQu9C10LrRgdC10Lkg0JLQuNC90LjRh9C10L3QutC+?=" After the
change it looks like "Алексей Виниченко"
Signed-off-by: Konstantin Kharlamov <Hi-Angel yandex ru>
src/engine/rfc822/rfc822-utils.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/engine/rfc822/rfc822-utils.vala b/src/engine/rfc822/rfc822-utils.vala
index a8fbee0e..7672d8ae 100644
--- a/src/engine/rfc822/rfc822-utils.vala
+++ b/src/engine/rfc822/rfc822-utils.vala
@@ -205,10 +205,10 @@ public string email_addresses_for_reply(Geary.RFC822.MailboxAddresses? addresses
switch (format) {
case TextFormat.HTML:
- return HTML.escape_markup(addresses.to_string());
+ return HTML.escape_markup(addresses.to_full_display());
case TextFormat.PLAIN:
- return addresses.to_string();
+ return addresses.to_full_display();
default:
assert_not_reached();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]