Browse Source

[Fix] Fix parsing of rfc2047 tokens with '?' inside

tags/3.0
Vsevolod Stakhov 3 years ago
parent
commit
4f86cbac45
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/ragel/rfc2047_parser.rl

+ 1
- 1
src/ragel/rfc2047_parser.rl View File

@@ -43,7 +43,7 @@
token = (graph - especials)+;
charset = token;
encoding = "Q" | "q" | "B" | "b";
encoded_text = (print - ("?"))+;
encoded_text = (print+ -- ("?="));
encoded_word = "=?" charset >Start_Charset %End_Charset
("*" language)? "?"
encoding %End_Encoding "?"

Loading…
Cancel
Save