From: Vsevolod Stakhov Date: Fri, 27 Feb 2015 09:30:38 +0000 (+0000) Subject: Fix state machine rewind. X-Git-Tag: 0.9.0~600 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=159cea78f1e37aacc6c7ce8187181822af10c627;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 {