aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_parser.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-28 12:01:21 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-28 12:09:08 +0000
commit2f78615bf95f30484af69abd64db0e29765d1de1 (patch)
tree499d2fece7fc1fd6bdf460fa507ae834817b4722 /src/libmime/mime_parser.c
parentb443d8260a1200e3b9ff7de5a0812a79fb83dafe (diff)
downloadrspamd-2f78615bf95f30484af69abd64db0e29765d1de1.tar.gz
rspamd-2f78615bf95f30484af69abd64db0e29765d1de1.zip
[Feature] Core: Support RFC2231 encoding in headers
Diffstat (limited to 'src/libmime/mime_parser.c')
-rw-r--r--src/libmime/mime_parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmime/mime_parser.c b/src/libmime/mime_parser.c
index 82a0cbafb..538e55d42 100644
--- a/src/libmime/mime_parser.c
+++ b/src/libmime/mime_parser.c
@@ -376,9 +376,6 @@ rspamd_mime_part_get_cd (struct rspamd_task *task, struct rspamd_mime_part *part
task->task_pool);
if (cd) {
- msg_debug_mime ("processed content disposition: %s",
- cd->lc_data);
-
/* We still need to check filename */
if (cd->filename.len == 0) {
if (part->ct && part->ct->attrs) {
@@ -397,6 +394,9 @@ rspamd_mime_part_get_cd (struct rspamd_task *task, struct rspamd_mime_part *part
}
}
}
+
+ msg_debug_mime ("processed content disposition: %s, file: \"%T\"",
+ cd->lc_data, &cd->filename);
break;
}
}