aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/http.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-02 13:42:53 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-02 13:42:53 +0000
commitc49bd73c79e4c900b239aca4c0388351621ca457 (patch)
tree425068d706d4601820a3a9f1921382c85d059eca /src/libutil/http.c
parentb1e028b0fdc7b6b9a34a5757ff6703e098595256 (diff)
downloadrspamd-c49bd73c79e4c900b239aca4c0388351621ca457.tar.gz
rspamd-c49bd73c79e4c900b239aca4c0388351621ca457.zip
Fix url parser invocation.
Diffstat (limited to 'src/libutil/http.c')
-rw-r--r--src/libutil/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c
index 70564668c..b994907df 100644
--- a/src/libutil/http.c
+++ b/src/libutil/http.c
@@ -1070,7 +1070,7 @@ rspamd_http_message_from_url (const gchar *url)
}
memset (&pu, 0, sizeof (pu));
- if (http_parser_parse_url (url, strlen (url), TRUE, &pu) != 0) {
+ if (http_parser_parse_url (url, strlen (url), FALSE, &pu) != 0) {
msg_warn ("cannot parse URL: %s", url);
return NULL;
}