From: Vsevolod Stakhov Date: Sat, 20 Aug 2016 15:28:05 +0000 (+0100) Subject: [Fix] Fix issue with spaces in maps X-Git-Tag: 1.3.4~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2f2907f9bac3a7bb82e39b4d8f7f1ac5606095df;p=rspamd.git [Fix] Fix issue with spaces in maps --- 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 {