From: Vsevolod Stakhov Date: Thu, 10 Mar 2016 11:46:57 +0000 (+0000) Subject: [Fix] Fix parsing of HTTP maps X-Git-Tag: 1.2.0~86 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e530cdc48aa3367f997191f75b2a6b7e21c24e38;p=rspamd.git [Fix] Fix parsing of HTTP maps --- diff --git a/src/libutil/map.c b/src/libutil/map.c index 0632439b9..6de3a1e0e 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -831,7 +831,7 @@ rspamd_map_add (struct rspamd_config *cfg, sizeof (struct http_map_data)); memset (&up, 0, sizeof (up)); - if (http_parser_parse_url (new_map->uri, strlen (new_map->uri), TRUE, + if (http_parser_parse_url (new_map->uri, strlen (new_map->uri), FALSE, &up) != 0) { msg_err_config ("cannot parse HTTP url: %s", new_map->uri); return NULL;