aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/url.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-27 08:52:13 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-27 08:52:13 +0100
commit29ebd7c65c1e470771189db1e7aad53e4d051714 (patch)
tree1de901f32ba56011895aa26ec61cd971fc80964f /src/libserver/url.h
parent314f56c237a69b68252efda45d1c2a48fc4ec094 (diff)
downloadrspamd-29ebd7c65c1e470771189db1e7aad53e4d051714.tar.gz
rspamd-29ebd7c65c1e470771189db1e7aad53e4d051714.zip
[Fix] Fix shemaless URLs detection
Diffstat (limited to 'src/libserver/url.h')
-rw-r--r--src/libserver/url.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/url.h b/src/libserver/url.h
index a02d3c9d0..0eac98060 100644
--- a/src/libserver/url.h
+++ b/src/libserver/url.h
@@ -126,7 +126,8 @@ enum uri_errno rspamd_url_parse (struct rspamd_url *uri,
* @return TRUE if url is found in specified text
*/
gboolean rspamd_url_find (rspamd_mempool_t *pool, const gchar *begin, gsize len,
- gchar **url_str, gboolean is_html, goffset *url_pos);
+ gchar **url_str, gboolean is_html, goffset *url_pos,
+ gboolean *prefix_added);
/*
* Return text representation of url parsing error
*/