diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-02 13:42:53 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-02 13:42:53 +0000 |
commit | c49bd73c79e4c900b239aca4c0388351621ca457 (patch) | |
tree | 425068d706d4601820a3a9f1921382c85d059eca /src/libutil/http.c | |
parent | b1e028b0fdc7b6b9a34a5757ff6703e098595256 (diff) | |
download | rspamd-c49bd73c79e4c900b239aca4c0388351621ca457.tar.gz rspamd-c49bd73c79e4c900b239aca4c0388351621ca457.zip |
Fix url parser invocation.
Diffstat (limited to 'src/libutil/http.c')
-rw-r--r-- | src/libutil/http.c | 2 |
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; } |