summaryrefslogtreecommitdiffstats
path: root/src/libserver/re_cache.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-06 11:27:24 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-03-09 10:46:11 +0000
commitf1d8615a328e2e7361445bcc91d96d2d42cddbb8 (patch)
tree809fe90c779d9e9818dbc0e9ad28dfe5273fcbf7 /src/libserver/re_cache.c
parent369d9c23902ce6c8350884b8e5fbb5138d0340af (diff)
downloadrspamd-f1d8615a328e2e7361445bcc91d96d2d42cddbb8.tar.gz
rspamd-f1d8615a328e2e7361445bcc91d96d2d42cddbb8.zip
[Rework] Rework URL structure: user field
Diffstat (limited to 'src/libserver/re_cache.c')
-rw-r--r--src/libserver/re_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/re_cache.c b/src/libserver/re_cache.c
index 862ffc351..995af8ddf 100644
--- a/src/libserver/re_cache.c
+++ b/src/libserver/re_cache.c
@@ -1223,7 +1223,7 @@ rspamd_re_cache_exec_re (struct rspamd_task *task,
continue;
}
- in = url->user;
+ in = rspamd_url_user_unsafe (url);
len = url->userlen + 1 + url->hostlen;
scvec[i] = (guchar *) in;
lenvec[i++] = len;