diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-19 17:14:06 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-19 17:14:06 +0100 |
commit | c4891851bf1afba6ddc9da8539c2ac2996522660 (patch) | |
tree | 4d0a65e25395841fe54bad1c34e839209f47875c /src/libserver/protocol.c | |
parent | 2944572017edb0b5660eb311c9342d19c8737387 (diff) | |
download | rspamd-c4891851bf1afba6ddc9da8539c2ac2996522660.tar.gz rspamd-c4891851bf1afba6ddc9da8539c2ac2996522660.zip |
[Rework] Rename phished url to a linked url
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r-- | src/libserver/protocol.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index 7307c95c8..878f0bb3e 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -895,11 +895,11 @@ rspamd_protocol_extended_url (struct rspamd_task *task, elt = ucl_object_frombool (url->flags & RSPAMD_URL_FLAG_REDIRECTED); ucl_object_insert_key (obj, elt, "redirected", 0, false); - if (url->phished_url) { - encoded = rspamd_url_encode (url->phished_url, &enclen, task->task_pool); - elt = rspamd_protocol_extended_url (task, url->phished_url, encoded, + if (url->linked_url) { + encoded = rspamd_url_encode (url->linked_url, &enclen, task->task_pool); + elt = rspamd_protocol_extended_url (task, url->linked_url, encoded, enclen); - ucl_object_insert_key (obj, elt, "orig_url", 0, false); + ucl_object_insert_key (obj, elt, "linked_url", 0, false); } return obj; |