diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-14 16:14:43 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-14 16:14:43 +0100 |
commit | 4358f493cc2365982c10e9c80e9a73bf5e6bc584 (patch) | |
tree | 956829e236b7472d207ca047c8264bf260602c8b /src/libserver/url.c | |
parent | 202c18cb66b7cf16ecfe6542580e38b7e3c4bab6 (diff) | |
download | rspamd-4358f493cc2365982c10e9c80e9a73bf5e6bc584.tar.gz rspamd-4358f493cc2365982c10e9c80e9a73bf5e6bc584.zip |
[Minor] It seems we still need raw urls...
Diffstat (limited to 'src/libserver/url.c')
-rw-r--r-- | src/libserver/url.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/url.c b/src/libserver/url.c index fb4b4da94..01bb527f0 100644 --- a/src/libserver/url.c +++ b/src/libserver/url.c @@ -2225,6 +2225,9 @@ rspamd_url_parse (struct rspamd_url *uri, len = end - uristring; } + uri->raw = p; + uri->rawlen = len; + if (flags & RSPAMD_URL_FLAG_MISSINGSLASHES) { len += 2; uri->string = rspamd_mempool_alloc (pool, len + 1); |