diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-07 17:21:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-07 17:21:53 +0100 |
commit | 817433babecea09c37f4c991d9611a11b229cd56 (patch) | |
tree | 00848000b75ae35decff888f6b80cf94171801b1 | |
parent | de3642d5e657c97c93da527b6069e15ebec5f8fd (diff) | |
download | rspamd-817433babecea09c37f4c991d9611a11b229cd56.tar.gz rspamd-817433babecea09c37f4c991d9611a11b229cd56.zip |
Allow keys and values be separated by newlines.
-rw-r--r-- | src/rcl/rcl_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ++; } |