From 817433babecea09c37f4c991d9611a11b229cd56 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 7 Aug 2013 17:21:53 +0100 Subject: [PATCH] Allow keys and values be separated by newlines. --- src/rcl/rcl_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcl/rcl_parser.c b/src/rcl/rcl_parser.c index 6fec67623..ad15a1f2a 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 ++; } -- 2.39.5