From 2f2907f9bac3a7bb82e39b4d8f7f1ac5606095df Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 20 Aug 2016 16:28:05 +0100 Subject: [PATCH] [Fix] Fix issue with spaces in maps --- src/libutil/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libutil/map.c b/src/libutil/map.c index b3bb8dc2c..b29cc2e81 100644 --- a/src/libutil/map.c +++ b/src/libutil/map.c @@ -1658,7 +1658,7 @@ rspamd_parse_kv_list ( data->state = map_read_key_slashed; break; case map_skip_spaces_after_key: - if (g_ascii_isspace (*p)) { + if (*p == ' ' || *p == '\t') { p ++; } else { -- 2.39.5