From: Vsevolod Stakhov Date: Fri, 27 Feb 2015 09:30:38 +0000 (+0000) Subject: Fix state machine rewind. X-Git-Tag: 0.8.2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=130585072fc44857bc9f55640aee1c34ff08ebcd;p=thirdparty%2Frspamd.git Fix state machine rewind. --- diff --git a/src/libserver/url.c b/src/libserver/url.c index 0f2ea10a89..a6423d0c00 100644 --- a/src/libserver/url.c +++ b/src/libserver/url.c @@ -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 {