]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix parsing of HTTP maps
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 10 Mar 2016 11:46:57 +0000 (11:46 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 10 Mar 2016 11:46:57 +0000 (11:46 +0000)
src/libutil/map.c

index 0632439b9ecc53d42b0f71ed22d78d228b70ebd9..6de3a1e0e8d2f067aa6cad9c02e7612d039d7c8b 100644 (file)
@@ -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;