From f31e60aa815cc38f36fee4ea664efbd631329172 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 15 Nov 2015 20:44:13 -0200 Subject: content-parser: fixed multiple directive calls in same source --- src/content-parser.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/content-parser.c') diff --git a/src/content-parser.c b/src/content-parser.c index a9ab9af..8bdd861 100644 --- a/src/content-parser.c +++ b/src/content-parser.c @@ -1043,6 +1043,8 @@ hr: goto para; if (c == ' ' || c == '\t') break; + if (c == '\n' || c == '\r') + goto param_end; prefix = b_strndup(src + start2, current - start2); state = CONTENT_DIRECTIVE_PARAM_PREFIX; current--; -- cgit v1.2.3-18-g5258