diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-11 15:23:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-11 15:23:44 +0100 |
commit | 88c6307dcffe2b7329a58b7beff15f5063752a3c (patch) | |
tree | 1602da032556e445a76280c8a3a3acc29b496963 /src/libutil | |
parent | 5ed1a8aec4040116f1bc823b671ffdac0ecc3ae5 (diff) | |
download | rspamd-88c6307dcffe2b7329a58b7beff15f5063752a3c.tar.gz rspamd-88c6307dcffe2b7329a58b7beff15f5063752a3c.zip |
Fix args splitting.
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c index 82ffdc19f..73954474c 100644 --- a/src/libutil/http.c +++ b/src/libutil/http.c @@ -2411,7 +2411,7 @@ rspamd_http_message_parse_query (struct rspamd_http_message *msg) break; case parse_ampersand: - if (*p != '&') { + if (*p != '&' && p != end) { c = p; state = parse_key; } |