aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/task.c')
-rw-r--r--src/libserver/task.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index 75c44f21a..f02665afd 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -326,7 +326,7 @@ rspamd_task_load_message (struct rspamd_task *task,
r = rspamd_strlcpy (filepath, tok->begin,
MIN (sizeof (filepath), tok->len + 1));
- rspamd_decode_url (filepath, filepath, r + 1);
+ rspamd_url_decode (filepath, filepath, r + 1);
flen = strlen (filepath);
if (filepath[0] == '"' && flen > 2) {
@@ -424,7 +424,7 @@ rspamd_task_load_message (struct rspamd_task *task,
r = rspamd_strlcpy (filepath, tok->begin,
MIN (sizeof (filepath), tok->len + 1));
- rspamd_decode_url (filepath, filepath, r + 1);
+ rspamd_url_decode (filepath, filepath, r + 1);
flen = strlen (filepath);
if (filepath[0] == '"' && flen > 2) {