aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-12 16:35:50 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-12 16:36:32 +0000
commit5a777ea6d3b07be9571ac131e4dccaceea347e40 (patch)
treef197ac0af5486815cf1aa20f0549464928964eb0
parent5800b649b12a8520f5dd05301a291e274a8695dd (diff)
downloadrspamd-5a777ea6d3b07be9571ac131e4dccaceea347e40.tar.gz
rspamd-5a777ea6d3b07be9571ac131e4dccaceea347e40.zip
[Minor] Slightly relax RFC grammar
-rw-r--r--src/ragel/content_type.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ragel/content_type.rl b/src/ragel/content_type.rl
index d9c222e5c..f6763b121 100644
--- a/src/ragel/content_type.rl
+++ b/src/ragel/content_type.rl
@@ -16,7 +16,7 @@
token = 0x21..0x27 | 0x2a..0x2b | 0x2c..0x2e | 0x30..0x39 | 0x41..0x5a | 0x5e..0x7e;
value = (quoted_string | (token -- '"' | 0x3d)+) >Param_Value_Start %Param_Value_End;
attribute = (token+) >Param_Name_Start %Param_Name_End;
- parameter = CFWS? attribute "=" value CFWS?;
+ parameter = CFWS? attribute FWS? "=" FWS? value CFWS?;
ietf_token = token+;
custom_x_token = 'x'i "-" token+;