]> source.dussan.org Git - rspamd.git/commitdiff
Fix state machine rewind.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 27 Feb 2015 09:30:38 +0000 (09:30 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 27 Feb 2015 09:33:58 +0000 (09:33 +0000)
src/libserver/url.c

index 0f2ea10a89e22f7e3c4781364ecc920cdb127b3b..a6423d0c00a7478deca679384419563320308e8c 100644 (file)
@@ -1078,6 +1078,7 @@ rspamd_web_parse (struct http_parser_url *u, const gchar *str, gsize len,
                                        /* We might have some domain, but no protocol */
                                        st = parse_domain;
                                        p = c;
+                                       slash = c;
                                        break;
                                }
                                else {