From: Vsevolod Stakhov Date: Wed, 7 Aug 2013 16:21:53 +0000 (+0100) Subject: Allow keys and values be separated by newlines. X-Git-Tag: 0.6.0~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=817433babecea09c37f4c991d9611a11b229cd56;p=thirdparty%2Frspamd.git Allow keys and values be separated by newlines. --- diff --git a/src/rcl/rcl_parser.c b/src/rcl/rcl_parser.c index 6fec676237..ad15a1f2a2 100644 --- a/src/rcl/rcl_parser.c +++ b/src/rcl/rcl_parser.c @@ -326,7 +326,7 @@ rspamd_cl_parse_key (struct rspamd_cl_parser *parser, /* We are now at the end of the key, need to parse the rest */ while (p < chunk->end) { - if (*p == ' ' || *p == '\t') { + if (g_ascii_isspace (*p)) { rspamd_cl_chunk_skipc (chunk, *p); p ++; }