You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Daniele Depetrini (JIRA)" <se...@james.apache.org> on 2017/01/03 16:50:58 UTC

[jira] [Created] (JSIEVE-107) Header matching doesn't work in case of folded or encoded header

Daniele Depetrini created JSIEVE-107:
----------------------------------------

             Summary: Header matching doesn't work in case of folded or encoded header
                 Key: JSIEVE-107
                 URL: https://issues.apache.org/jira/browse/JSIEVE-107
             Project: James jSieve
          Issue Type: Bug
          Components: Util
    Affects Versions: 1.0
            Reporter: Daniele Depetrini


Any email header can be:

- folded: so splitted into multiple line as per RFC 2822 section 2.2.3
- encoded: Non-ASCII characters need special encoding process as per RFC 2047

So jsieve library need to unfold + decode any header before any pattern matching attempt.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org