[evolution-ews/gnome-3-20] Bug 767335 - Attachment names are not URL-decoded
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/gnome-3-20] Bug 767335 - Attachment names are not URL-decoded
- Date: Tue, 14 Jun 2016 13:29:08 +0000 (UTC)
commit ab93bc83d32dda5430499dca655ad76644a4e07f
Author: Milan Crha <mcrha redhat com>
Date: Tue Jun 14 15:27:57 2016 +0200
Bug 767335 - Attachment names are not URL-decoded
src/server/e-ews-item.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/server/e-ews-item.c b/src/server/e-ews-item.c
index e94d7d9..fc29072 100644
--- a/src/server/e-ews-item.c
+++ b/src/server/e-ews-item.c
@@ -1721,9 +1721,7 @@ e_ews_dump_file_attachment_from_soap_parameter (ESoapParameter *param,
param_name = e_soap_parameter_get_name (subparam);
if (g_ascii_strcasecmp (param_name, "Name") == 0) {
- value = e_soap_parameter_get_string_value (subparam);
- name = g_uri_escape_string (value, "", TRUE);
- g_free (value);
+ name = e_soap_parameter_get_string_value (subparam);
} else if (g_ascii_strcasecmp (param_name, "Content") == 0) {
value = e_soap_parameter_get_string_value (subparam);
content = g_base64_decode (value, &data_len);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]