aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-27 09:30:38 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-27 09:30:38 +0000
commit159cea78f1e37aacc6c7ce8187181822af10c627 (patch)
tree68c2afde7f0a363bae4cc9c457dacfdb351feb10 /src
parentaffce879ad2077d6a9e8958e5269f62c31b97558 (diff)
downloadrspamd-159cea78f1e37aacc6c7ce8187181822af10c627.tar.gz
rspamd-159cea78f1e37aacc6c7ce8187181822af10c627.zip
Fix state machine rewind.
Diffstat (limited to 'src')
-rw-r--r--src/libserver/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/url.c b/src/libserver/url.c
index 0f2ea10a8..a6423d0c0 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 {