aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-07 17:21:53 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-07 17:21:53 +0100
commit817433babecea09c37f4c991d9611a11b229cd56 (patch)
tree00848000b75ae35decff888f6b80cf94171801b1
parentde3642d5e657c97c93da527b6069e15ebec5f8fd (diff)
downloadrspamd-817433babecea09c37f4c991d9611a11b229cd56.tar.gz
rspamd-817433babecea09c37f4c991d9611a11b229cd56.zip
Allow keys and values be separated by newlines.
-rw-r--r--src/rcl/rcl_parser.c2
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 ++;
}