diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-12-21 19:15:27 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-12-21 19:15:27 +0000 |
commit | f454cbd033200bc0a3933c934444d0b588a634c8 (patch) | |
tree | 61599e2aa4c5ca42726de71334f87b834b79f11b /src/ragel | |
parent | e6293c39aebebd56ec3650240166a284220f5769 (diff) | |
download | rspamd-f454cbd033200bc0a3933c934444d0b588a634c8.tar.gz rspamd-f454cbd033200bc0a3933c934444d0b588a634c8.zip |
[Minor] Deal with broken params encoded in quotes
Issue: #1969 (partially)
Diffstat (limited to 'src/ragel')
-rw-r--r-- | src/ragel/content_disposition.rl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ragel/content_disposition.rl b/src/ragel/content_disposition.rl index fb01e350c..5aca57db5 100644 --- a/src/ragel/content_disposition.rl +++ b/src/ragel/content_disposition.rl @@ -15,7 +15,7 @@ DQUOTE) CFWS?; 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; + attribute = (quoted_string | (token -- '"' | 0x3d)+) >Param_Name_Start %Param_Name_End; parameter = CFWS? attribute FWS? "=" FWS? value CFWS?; ietf_token = token+; |