diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-25 17:12:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-25 17:12:34 +0100 |
commit | 7844a3cd67ad7a3960ebacf5fee05a16b1f895b1 (patch) | |
tree | ca69b8a65272724071cc855cd18aa115562560d7 /src/ragel | |
parent | a600abfa5813d740dbb051f89f65a03a765441ea (diff) | |
download | rspamd-7844a3cd67ad7a3960ebacf5fee05a16b1f895b1.tar.gz rspamd-7844a3cd67ad7a3960ebacf5fee05a16b1f895b1.zip |
[Fix] Fix smtp grammar issues
Diffstat (limited to 'src/ragel')
-rw-r--r-- | src/ragel/smtp_address.rl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ragel/smtp_address.rl b/src/ragel/smtp_address.rl index d98fb57eb..dd148d654 100644 --- a/src/ragel/smtp_address.rl +++ b/src/ragel/smtp_address.rl @@ -13,11 +13,11 @@ atext = alpha | digit | "!" | "#" | "$" | "%" | "&" | "'" | "*" | "+" | "_" | "/" | "=" | "?" | "^" | - "_" | "`" | "{" | "|" | "}" | "~"; + "-" | "`" | "{" | "|" | "}" | "~"; dcontent = 33..90 | 94..126; Let_dig = alpha | digit; - Ldh_str = ( alpha | digit | "_" )* Let_dig; + Ldh_str = ( alpha | digit | "_" | "-" )* Let_dig; quoted_pairSMTP = "\\" 32..126; qtextSMTP = 32..33 | 35..91 | 93..126; |